feat: Benutzerrollen und JWT-Konfiguration aktualisieren
- Benutzerrollen-Enums im Frontend aktualisiert, um die neuen Namenskonventionen für 'sDigital Data'-Rollen zu reflektieren. - Neue Rollen in `JwtGlobals` für Digital Data-Administratoren und Benutzer hinzugefügt. - Die Rolleneinstellungen in `LdapUser` erweitert, um neue Digital Data-Rollen einzubeziehen. - `JwtMiddlewareOptionsHelper` modifiziert, um zusätzliche Rollen zu unterstützen und die JWT-Rollenliste entsprechend strukturiert.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
namespace HRD.LDAPService.JWT
|
||||
{
|
||||
//TODO: get this from config file (etc. appsettings.json)
|
||||
public static class JwtGlobals
|
||||
{
|
||||
public const string HttpContextItem_LdapUser = "ldapuser";
|
||||
@@ -15,5 +16,7 @@
|
||||
public const string ROLE_DEPARTMENTMASTER = "DepartmentMaster";
|
||||
public const string ROLE_MASTER = "Master";
|
||||
public const string ROLE_ADMIN = "Admin";
|
||||
public const string ROLE_DD_ADMIN = "sDigital Data - IIM-Administratoren";
|
||||
public const string ROLE_DD_USER = "sDigital Data - IIM-Benutzer";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user