Skip to content

feat: add more cli options to unified roles - #3658

Open
micbar wants to merge 1 commit into
mainfrom
cli-additions
Open

micbar wants to merge 1 commit into
mainfrom
cli-additions

Conversation

@micbar

@micbar micbar commented Oct 5, 2026

Copy link
Copy Markdown
Member

Description

NAME UID ENABLED DESCRIPTION CONDITION ALLOWED RESOURCE ACTIONS
Viewer b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5 enabled View and download. exists @resource.File libre.graph/driveItem/path/read
exists @Resource.Folder libre.graph/driveItem/quota/read
exists @resource.File && @Subject.UserType=="Federated" libre.graph/driveItem/content/read
exists @Resource.Folder && @Subject.UserType=="Federated" libre.graph/driveItem/children/read
libre.graph/driveItem/deleted/read
libre.graph/driveItem/basic/read
ViewerWithVersions d1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5 enabled View and download including the history. exists @resource.File libre.graph/driveItem/path/read
exists @Resource.Folder libre.graph/driveItem/quota/read
libre.graph/driveItem/content/read
libre.graph/driveItem/children/read
libre.graph/driveItem/versions/read
libre.graph/driveItem/deleted/read
libre.graph/driveItem/basic/read
ViewerListGrants d5041006-ebb3-4b4a-b6a4-7c180ecfb17d disabled View, download and show all invited people. exists @resource.File libre.graph/driveItem/path/read
exists @Resource.Folder libre.graph/driveItem/quota/read
exists @resource.File && @Subject.UserType=="Federated" libre.graph/driveItem/content/read
exists @Resource.Folder && @Subject.UserType=="Federated" libre.graph/driveItem/permissions/read
libre.graph/driveItem/children/read
libre.graph/driveItem/deleted/read
libre.graph/driveItem/basic/read
SpaceViewer a8d5fe5e-96e3-418d-825b-534dbdf22b99 enabled View and download. exists @Resource.Root libre.graph/driveItem/path/read
libre.graph/driveItem/quota/read
libre.graph/driveItem/content/read
libre.graph/driveItem/permissions/read
libre.graph/driveItem/children/read
libre.graph/driveItem/deleted/read
libre.graph/driveItem/basic/read
SpaceViewerWithVersions 3de465fc-6e17-4839-8b8a-a77cc497878b disabled View and download including the history. exists @Resource.Root libre.graph/driveItem/path/read
libre.graph/driveItem/quota/read
libre.graph/driveItem/content/read
libre.graph/driveItem/permissions/read
libre.graph/driveItem/children/read
libre.graph/driveItem/versions/read
libre.graph/driveItem/deleted/read
libre.graph/driveItem/basic/read
Editor fb6c3e19-e378-47e5-b277-9732f9de6e21 enabled View, download, upload, edit, add and delete. exists @Resource.Folder libre.graph/driveItem/children/create
exists @Resource.Folder && @Subject.UserType=="Federated" 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/children/read
libre.graph/driveItem/deleted/read
libre.graph/driveItem/path/update
libre.graph/driveItem/deleted/update
libre.graph/driveItem/basic/read
EditorListGrants e8ea8b21-abd4-45d2-b893-8d1546378e9e disabled View, download, upload, edit, add, delete and show all invited people. exists @Resource.Folder libre.graph/driveItem/children/create
exists @Resource.Folder && @Subject.UserType=="Federated" 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/deleted/read
libre.graph/driveItem/path/update
libre.graph/driveItem/deleted/update
libre.graph/driveItem/basic/read
EditorListGrantsWithVersions 0911d62b-1e3f-4778-8b1b-903b7e4e8476 disabled View, download, upload, edit, delete, show all versions and all invited people. exists @Resource.Folder libre.graph/driveItem/children/create
exists @Resource.Folder && @Subject.UserType=="Federated" 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
EditorWithVersions b8c6e1c9-5d2a-4f0e-9c3b-1a2b3c4d5e6f enabled View, download, upload, edit, add and delete including the history. exists @Resource.Folder 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/children/read
libre.graph/driveItem/versions/read
libre.graph/driveItem/deleted/read
libre.graph/driveItem/path/update
libre.graph/driveItem/versions/update
libre.graph/driveItem/deleted/update
libre.graph/driveItem/basic/read
SpaceEditor 58c63c02-1d89-4572-916a-870abc5a1b7d enabled View, download, upload, edit, add, delete including the history. exists @Resource.Root 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/versions/update
libre.graph/driveItem/deleted/update
libre.graph/driveItem/basic/read
SpaceEditorWithoutVersions 3284f2d5-0070-4ad8-ac40-c247f7c1fb27 disabled View, download, upload, edit, add and delete. exists @Resource.Root 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/deleted/read
libre.graph/driveItem/path/update
libre.graph/driveItem/deleted/update
libre.graph/driveItem/basic/read
SpaceEditorWithoutTrashbin 8f4701d9-c68f-4109-a482-88e22ee32805 disabled View, download, upload, edit, add, delete including the history. exists @Resource.Root 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/path/update
libre.graph/driveItem/versions/update
libre.graph/driveItem/basic/read
SpaceEditorWithoutVersionsWithoutTrashbin a5f73816-4d4b-452d-8973-3b61c3d0bed4 disabled View, download, upload, edit, add and delete. exists @Resource.Root 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/path/update
libre.graph/driveItem/basic/read
FileEditor 2d00ce52-1fc2-4dbc-8b95-a73b73395f5a enabled View, download and edit. exists @resource.File libre.graph/driveItem/path/read
exists @resource.File && @Subject.UserType=="Federated" libre.graph/driveItem/quota/read
libre.graph/driveItem/content/read
libre.graph/driveItem/upload/create
libre.graph/driveItem/children/read
libre.graph/driveItem/deleted/read
libre.graph/driveItem/deleted/update
libre.graph/driveItem/basic/read
FileEditorWithVersions 3d00ce52-1fc2-4dbc-8b95-a73b73395f5a enabled View, download and edit including the history. exists @resource.File libre.graph/driveItem/path/read
libre.graph/driveItem/quota/read
libre.graph/driveItem/content/read
libre.graph/driveItem/upload/create
libre.graph/driveItem/children/read
libre.graph/driveItem/versions/read
libre.graph/driveItem/deleted/read
libre.graph/driveItem/versions/update
libre.graph/driveItem/deleted/update
libre.graph/driveItem/basic/read
FileEditorListGrants c1235aea-d106-42db-8458-7d5610fb0a67 disabled View, download, edit and show all invited people. exists @resource.File libre.graph/driveItem/path/read
exists @resource.File && @Subject.UserType=="Federated" 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/deleted/read
libre.graph/driveItem/deleted/update
libre.graph/driveItem/basic/read
FileEditorListGrantsWithVersions b173329d-cf2e-42f0-a595-ee410645d840 disabled View, download, upload, edit, show all versions and all invited people. exists @resource.File libre.graph/driveItem/path/read
exists @resource.File && @Subject.UserType=="Federated" 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
EditorLite 1c996275-f1c9-4e71-abdf-a42f6495e960 enabled View, download and upload. exists @Resource.Folder libre.graph/driveItem/children/create
libre.graph/driveItem/path/read
libre.graph/driveItem/content/read
libre.graph/driveItem/upload/create
libre.graph/driveItem/children/read
libre.graph/driveItem/path/update
libre.graph/driveItem/basic/read
SpaceManager 312c0871-5ef7-4b3a-85b6-0e4074c64049 enabled View, download, upload, edit, add, delete and manage members. exists @Resource.Root libre.graph/driveItem/permissions/create
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/permissions/delete
libre.graph/driveItem/deleted/delete
libre.graph/driveItem/versions/update
libre.graph/driveItem/deleted/update
libre.graph/driveItem/basic/read
libre.graph/driveItem/permissions/update
libre.graph/driveItem/permissions/deny
SecureViewer aa97fe03-7980-45ac-9e50-b325749fd7e6 enabled View only documents, images and PDFs. Watermarks will be applied. exists @resource.File libre.graph/driveItem/path/read
exists @Resource.Folder libre.graph/driveItem/children/read
libre.graph/driveItem/basic/read
Denied 63e64e19-8d43-42ec-a738-2b6af2610efa disabled Deny all access. exists @Resource.Folder

Related Issue

  • Fixes <issue_link>

Motivation and Context

How Has This Been Tested?

  • test environment:
  • test case 1:
  • test case 2:
  • ...

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation added

@micbar micbar added Type:Maintenance E.g. technical debt, packaging, etc. Type:Enhancement and removed Type:Maintenance E.g. technical debt, packaging, etc. labels Oct 5, 2026
@codacy-production

codacy-production Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity

Metric Results
Complexity 0

View in Codacy

🟢 Coverage 0.00% diff coverage · -0.01% coverage variation

Metric Results
Coverage variation ✅ -0.01% coverage variation (-1.00%)
Diff coverage ✅ 0.00% diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (8f2adf2) 89366 21795 24.39%
Head commit (112b226) 89383 (+17) 21791 (-4) 24.38% (-0.01%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#3658) 19 0 0.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant