Changeset 279 for binary-improvements/MapRendering/Web/Handlers
- Timestamp:
- Jun 19, 2016, 1:52:31 PM (8 years ago)
- Location:
- binary-improvements/MapRendering/Web/Handlers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Web/Handlers/ApiHandler.cs
r251 r279 40 40 private void addApi (string _apiName, WebAPI _api) { 41 41 apis.Add (_apiName, _api); 42 WebPermissions.Instance.AddKnownModule ("webapi." + _apiName );42 WebPermissions.Instance.AddKnownModule ("webapi." + _apiName, _api.DefaultPermissionLevel ()); 43 43 } 44 44 -
binary-improvements/MapRendering/Web/Handlers/PathHandler.cs
r244 r279 11 11 } 12 12 13 protected PathHandler (string _moduleName ) {13 protected PathHandler (string _moduleName, int _defaultPermissionLevel = 0) { 14 14 this.moduleName = _moduleName; 15 WebPermissions.Instance.AddKnownModule (_moduleName );15 WebPermissions.Instance.AddKnownModule (_moduleName, _defaultPermissionLevel); 16 16 } 17 17
Note:
See TracChangeset
for help on using the changeset viewer.