Changeset 405 for binary-improvements2/WebServer/src
- Timestamp:
- Feb 22, 2023, 5:48:07 PM (21 months ago)
- Location:
- binary-improvements2/WebServer/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/WebServer/src/Commands/CreateWebUser.cs
r404 r405 11 11 private static readonly Regex validNameTokenMatcher = new Regex (@"^\w+$"); 12 12 13 p ublic override string[] GetCommands () {14 return new[] {"createwebuser "};13 protected override string[] getCommands () { 14 return new[] {"createwebusermanual"}; 15 15 } 16 16 17 p ublic override string GetDescription () {18 return "Create a web dashboard user account ";17 protected override string getDescription () { 18 return "Create a web dashboard user account - manual for testing"; 19 19 } 20 20 21 p ublic override string GetHelp () {21 protected override string getHelp () { 22 22 return ""; // TODO 23 23 } 24 24 25 public override int DefaultPermissionLevel => 1000;26 25 public override bool IsExecuteOnClient => true; 27 26 -
binary-improvements2/WebServer/src/Commands/EnableOpenIDDebug.cs
r402 r405 5 5 [UsedImplicitly] 6 6 public class EnableOpenIDDebug : ConsoleCmdAbstract { 7 p ublic override string GetDescription () {7 protected override string getDescription () { 8 8 return "enable/disable OpenID debugging"; 9 9 } 10 10 11 p ublic override string[] GetCommands () {11 protected override string[] getCommands () { 12 12 return new[] {"openiddebug"}; 13 13 } -
binary-improvements2/WebServer/src/Commands/WebPermissionsCmd.cs
r404 r405 6 6 [UsedImplicitly] 7 7 public class WebPermissionsCmd : ConsoleCmdAbstract { 8 p ublic override string[] GetCommands () {8 protected override string[] getCommands () { 9 9 return new[] {"webpermission"}; 10 10 } 11 11 12 p ublic override string GetDescription () {12 protected override string getDescription () { 13 13 return "Manage web permission levels"; 14 14 } 15 15 16 p ublic override string GetHelp () {16 protected override string getHelp () { 17 17 return "Set/get permission levels required to access a given web functionality. Default\n" + 18 18 "level required for functions that are not explicitly specified is 0.\n" + -
binary-improvements2/WebServer/src/Commands/WebTokens.cs
r404 r405 9 9 private static readonly Regex validNameTokenMatcher = new Regex (@"^\w+$"); 10 10 11 p ublic override string[] GetCommands () {11 protected override string[] getCommands () { 12 12 return new[] {"webtokens"}; 13 13 } 14 14 15 p ublic override string GetDescription () {15 protected override string getDescription () { 16 16 return "Manage web tokens"; 17 17 } 18 18 19 p ublic override string GetHelp () {19 protected override string getHelp () { 20 20 return "Set/get webtoken permission levels. A level of 0 is maximum permission.\n" + 21 21 "Usage:\n" + -
binary-improvements2/WebServer/src/FileCache/InvalidateCachesCmd.cs
r402 r405 5 5 [UsedImplicitly] 6 6 public class InvalidateCachesCmd : ConsoleCmdAbstract { 7 p ublic override string[] GetCommands () {7 protected override string[] getCommands () { 8 8 return new[] {"invalidatecaches"}; 9 9 } 10 10 11 p ublic override string GetDescription () {11 protected override string getDescription () { 12 12 return "Invalidate contents of web file caches"; 13 13 } 14 14 15 p ublic override string GetHelp () {15 protected override string getHelp () { 16 16 return "TODO"; 17 17 }
Note:
See TracChangeset
for help on using the changeset viewer.