rights system
This commit is contained in:
@@ -238,6 +238,12 @@ class PermissionService {
|
||||
}
|
||||
}
|
||||
|
||||
async deleteGroup(group: string): Promise<void> {
|
||||
await pool.query('DELETE FROM group_permissions WHERE authentik_group = $1', [group]);
|
||||
await this.loadCache();
|
||||
logger.info('Group deleted from permissions', { group });
|
||||
}
|
||||
|
||||
/**
|
||||
* Bulk-update permissions for multiple groups in a single transaction.
|
||||
* Reloads cache once at the end.
|
||||
|
||||
Reference in New Issue
Block a user