Changeset 279 for binary-improvements/MapRendering/Web/Handlers
- Timestamp:
- Jun 19, 2016, 1:52:31 PM (9 years ago)
- Location:
- binary-improvements/MapRendering/Web/Handlers
- Files:
- 
      - 2 edited
 
 - 
          
  ApiHandler.cs (modified) (1 diff)
- 
          
  PathHandler.cs (modified) (1 diff)
 
Legend:
- Unmodified
- Added
- Removed
- 
      binary-improvements/MapRendering/Web/Handlers/ApiHandler.csr251 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.csr244 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.
  ![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
