Project

General

Profile

Actions

Bug #11312

open

New scopes are not added to a migrated pack

Added by Arshana Atapattu 6 months ago. Updated 3 months ago.

Status:
QA
Priority:
Critical
Start date:
05/08/2024
Due date:
13/08/2024 (about 3 months late)
% Done:

100%

Estimated time:
Device Type:
Component:
Type:
Platform

Description

Environment details
Staging server(610)

Prerequisites
migrated pack(as of before 09.06.2024)

Steps
add a new scope and check if they are adding to the permissions(UI tree level)

Description
In a migrated setup, when a new scope was added they are not adding up in the permission set.
The permission is showing in the UI tree.
but when the permission was added in the UI, it throws an error.
EX: [1]

Reason: when a new tenant was created permission are getting from the super tenant permission.
but in this case a migrated pack's permission has not been updated with the latest permissions.
Therefore in both super and sub tenants are not showing the latest added scopes.

Related other ticket: https://roadmap.entgra.net/issues/11227

Result
Unable to update permissions in a migrated pack

[1]
TID: [-1234] [api/device-mgt/v1.0] [2024-06-10 05:09:31,215] ERROR {io.entgra.device.mgt.core.apimgt.webapp.publisher.APIPublisherServiceImpl} - Found invalid permission: /permission/admin/device-mgt/devices/any-group/permitted-actions-under-owning-group. Hence aborting the scope role mapping process

Actions

Also available in: Atom PDF