- Timestamp:
- Feb 16, 2023, 3:50:53 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/WebServer/src/UrlHandlers/AbsHandler.cs
r391 r404 1 using Webserver.Permissions; 2 1 3 namespace Webserver.UrlHandlers { 2 4 public abstract class AbsHandler { … … 10 12 protected AbsHandler (string _moduleName, int _defaultPermissionLevel = 0) { 11 13 moduleName = _moduleName; 12 WebPermissions.Instance.AddKnownModule (_moduleName, _defaultPermissionLevel);14 AdminWebModules.Instance.AddKnownModule (_moduleName, _defaultPermissionLevel); 13 15 } 14 16 … … 16 18 17 19 public virtual bool IsAuthorizedForHandler (WebConnection _user, int _permissionLevel) { 18 return moduleName == null || WebPermissions.Instance.ModuleAllowedWithLevel (moduleName, _permissionLevel);20 return moduleName == null || AdminWebModules.Instance.ModuleAllowedWithLevel (moduleName, _permissionLevel); 19 21 } 20 22
Note:
See TracChangeset
for help on using the changeset viewer.