Skip to content

Unified role missing name in graph list-unified-roles cli output #11254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
amrita-shrestha opened this issue Apr 22, 2025 · 0 comments
Open
Labels

Comments

@amrita-shrestha
Copy link
Contributor

Referencing:
#9727 (Enhancement: Unified Roles Management)
#9973 ([docs-only] Description + CLI for Unified Roles Management)
#10015 (fix: improve some wordings and cli table)
#10082 (Unified Role description vs command printout mismatch)

Description

Some unified roles listed by the graph list-unified-roles command do not display a NAME. The affected roles show an empty value in the NAME column, making it inconsistent.

./ocis/bin/ocis graph list-unified-roles 
NAME UID ENABLED DESCRIPTION CONDITION ALLOWED RESOURCE ACTIONS
Viewer b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5 enabled View and download. exists @resource.File
exists @Resource.Folder
exists @resource.File &&
@Subject.UserType=="Federated"
exists @Resource.Folder &&
@Subject.UserType=="Federated"
libre.graph/driveItem/path/read
libre.graph/driveItem/quota/read
libre.graph/driveItem/content/read
libre.graph/driveItem/children/read
libre.graph/driveItem/deleted/read
libre.graph/driveItem/basic/read
0911d62b-1e3f-4778-8b1b-903b7e4e8476 disabled View and download. exists @Resource.Folder
exists @Resource.Folder &&
@Subject.UserType=="Federated"
libre.graph/driveItem/children/create
libre.graph/driveItem/standard/delete
libre.graph/driveItem/path/read
libre.graph/driveItem/quota/read
libre.graph/driveItem/content/read
libre.graph/driveItem/upload/create
libre.graph/driveItem/permissions/read
libre.graph/driveItem/children/read
libre.graph/driveItem/versions/read
libre.graph/driveItem/deleted/read
libre.graph/driveItem/path/update
libre.graph/driveItem/deleted/update
libre.graph/driveItem/basic/read
b173329d-cf2e-42f0-a595-ee410645d840 disabled View, download, edit and show all invited people, show all versions. exists @resource.File
exists @resource.File &&
@Subject.UserType=="Federated"
libre.graph/driveItem/path/read
libre.graph/driveItem/quota/read
libre.graph/driveItem/content/read
libre.graph/driveItem/upload/create
libre.graph/driveItem/permissions/read
libre.graph/driveItem/children/read
libre.graph/driveItem/versions/read
libre.graph/driveItem/deleted/read
libre.graph/driveItem/deleted/update
libre.graph/driveItem/basic/read
63e64e19-8d43-42ec-a738-2b6af2610efa disabled Deny all access. exists @Resource.Folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant