Changeset 420 for binary-improvements/MapRendering/Commands
- Timestamp:
- Mar 28, 2023, 5:11:02 PM (20 months ago)
- Location:
- binary-improvements/MapRendering/Commands
- Files:
-
- 3 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Commands/ReloadWebPermissions.cs
r359 r420 5 5 namespace AllocsFixes.CustomCommands { 6 6 public class ReloadWebPermissions : ConsoleCmdAbstract { 7 p ublic override string GetDescription () {7 protected override string getDescription () { 8 8 return "force reload of web permissions file"; 9 9 } 10 10 11 p ublic override string[] GetCommands () {12 return new[] {"reloadwebpermissions "};11 protected override string[] getCommands () { 12 return new[] {"reloadwebpermissions_legacy"}; 13 13 } 14 14 -
binary-improvements/MapRendering/Commands/WebPermissionsCmd.cs
r372 r420 4 4 namespace AllocsFixes.CustomCommands { 5 5 public class WebPermissionsCmd : ConsoleCmdAbstract { 6 p ublic override string[] GetCommands () {7 return new[] {"webpermission "};6 protected override string[] getCommands () { 7 return new[] {"webpermission_legacy"}; 8 8 } 9 9 10 p ublic override string GetDescription () {10 protected override string getDescription () { 11 11 return "Manage web permission levels"; 12 12 } 13 13 14 p ublic override string GetHelp () {14 protected override string getHelp () { 15 15 return "Set/get permission levels required to access a given web functionality. Default\n" + 16 16 "level required for functions that are not explicitly specified is 0.\n" + 17 17 "Usage:\n" + 18 " webpermission add <webfunction> <level>\n" +19 " webpermission remove <webfunction>\n" +20 " webpermission list";18 " webpermission_legacy add <webfunction> <level>\n" + 19 " webpermission_legacy remove <webfunction>\n" + 20 " webpermission_legacy list"; 21 21 } 22 22 -
binary-improvements/MapRendering/Commands/WebTokens.cs
r326 r420 7 7 private static readonly Regex validNameTokenMatcher = new Regex (@"^\w+$"); 8 8 9 p ublic override string[] GetCommands () {10 return new[] {"webtokens "};9 protected override string[] getCommands () { 10 return new[] {"webtokens_legacy"}; 11 11 } 12 12 13 p ublic override string GetDescription () {13 protected override string getDescription () { 14 14 return "Manage web tokens"; 15 15 } 16 16 17 p ublic override string GetHelp () {17 protected override string getHelp () { 18 18 return "Set/get webtoken permission levels. A level of 0 is maximum permission.\n" + 19 19 "Usage:\n" + 20 " webtokens add <username> <usertoken> <level>\n" +21 " webtokens remove <username>\n" +22 " webtokens list";20 " webtokens_legacy add <username> <usertoken> <level>\n" + 21 " webtokens_legacy remove <username>\n" + 22 " webtokens_legacy list"; 23 23 } 24 24 -
binary-improvements/MapRendering/Commands/webstat.cs
r359 r420 5 5 namespace AllocsFixes.CustomCommands { 6 6 public class webstat : ConsoleCmdAbstract { 7 p ublic override string GetDescription () {7 protected override string getDescription () { 8 8 return "DEBUG PURPOSES ONLY"; 9 9 } 10 10 11 p ublic override string[] GetCommands () {12 return new[] {"webstat "};11 protected override string[] getCommands () { 12 return new[] {"webstat_legacy"}; 13 13 } 14 14
Note:
See TracChangeset
for help on using the changeset viewer.