UserPermissions |
Store administrative permissions for users.
If the user have the flag IsSuperAdmin is true, the information of that table is then not relevant for that user.
The permission is interpreted as a level value (none, read-only, create...) or as a boolean value (manageAllSurveys, accessAllModules ...).
Name | Type | Description |
---|---|---|
UserId | INT FOREIGN KEY NULL | ID of the user |
UserProfileId | INT FOREIGN KEY NULL | ID of the user profile |
ModuleGuid | UNIQUEIDENTIFIER NOT NULL | GUID of the module associated with the permission |
Key | NVARCHAR(50) NOT NULL | Default 'AskiaPortal' keys of the permission:
|
Permission | INT NOT NULL | Level of permissions:
Or is allowed to:
|