refactor(role): determine level of role entity (#5488)

This commit is contained in:
Apoorv Dixit
2024-08-01 15:26:47 +05:30
committed by GitHub
parent c0f45771b0
commit c036fd7f41
12 changed files with 55 additions and 5 deletions

View File

@ -87,6 +87,7 @@ pub async fn create_role(
org_id: user_from_token.org_id,
groups: req.groups,
scope: req.role_scope,
entity_type: req.entity_type,
created_by: user_from_token.user_id.clone(),
last_modified_by: user_from_token.user_id,
created_at: now,