Changeset 440 for TFP-WebServer/WebServer/src/UrlHandlers/AbsHandler.cs
- Timestamp:
- May 24, 2023, 4:53:49 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TFP-WebServer/WebServer/src/UrlHandlers/AbsHandler.cs
r434 r440 16 16 public abstract void HandleRequest (RequestContext _context); 17 17 18 public virtual bool IsAuthorizedForHandler ( WebConnection _user, int _permissionLevel) {19 return ModuleName == null || AdminWebModules.Instance.ModuleAllowedWithLevel (ModuleName, _ permissionLevel);18 public virtual bool IsAuthorizedForHandler (RequestContext _context) { 19 return ModuleName == null || AdminWebModules.Instance.ModuleAllowedWithLevel (ModuleName, _context.PermissionLevel); 20 20 } 21 21
Note:
See TracChangeset
for help on using the changeset viewer.