Ignore:
Timestamp:
Apr 24, 2023, 2:40:34 PM (19 months ago)
Author:
alloc
Message:

*Updated web permissions system
*Fixed webpermissions command
*Moved API "webmods" to "mods", also lists non-webmod mods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements2/WebServer/src/WebAPI/APIs/RegisterUser.cs

    r416 r426  
    8080                        }
    8181                       
    82                         // TODO: Check if username is already used!
     82                        // TODO: Check if username is already used by someone else!
     83                        // TODO: Remove existing username if player already had one!
    8384
    8485                        AdminWebUsers.Instance.AddUser (username, password, regData.PlatformUserId, regData.CrossPlatformUserId);
     
    9596                }
    9697
    97                 public override int DefaultPermissionLevel () => 2000;
     98                public override int DefaultPermissionLevel () => AdminWebModules.PermissionLevelGuest;
    9899        }
    99100}
Note: See TracChangeset for help on using the changeset viewer.