Project

General

Profile

Actions

Improvement #10403

open

removing isAdmin(has admin role) check and adding relevant scopes

Added by Arshana Atapattu 12 months ago. Updated 8 months ago.

Status:
New
Priority:
High
Assignee:
-
Start date:
18/10/2023
Due date:
% Done:

0%

Estimated time:
(Total: 0:00 h)
Device Type:
Component:
Type:

Description

Description

Currently in code some places it is checking if the user has admin role(isAdmin)
For ex: [1] [2].
this needs to remove and add relevant scopes to those scenarios(Device mgt admin, app publisher admin, app store admin).
when these scopes/permissions are assigned to user/roles that user is the admin of that section.

[1]
https://repository.entgra.net/community/device-mgt-core/src/commit/ba17f0e77891b7c1f85b9f0002a7c5e6b80f2601/components/device-mgt/io.entgra.device.mgt.core.device.mgt.core/src/main/java/io/entgra/device/mgt/core/device/mgt/core/service/GroupManagementProviderServiceImpl.java#L692

[2]
[2]


Files

Screenshot from 2023-10-24 12-49-04.png (184 KB) Screenshot from 2023-10-24 12-49-04.png [2] Arshana Atapattu, 24/10/2023 07:21 AM

Subtasks 1 (1 open0 closed)

Improvement #10390: Introduce a new scope, group admin to be able to see all groupsNewThilina Sandaruwan18/10/2023

Actions
Actions

Also available in: Atom PDF