Skip to content

update list_data_access_roles#1172

Open
m-kovalsky wants to merge 4 commits intomicrosoft:mainfrom
m-kovalsky:m-kovalsky/dataaccessrolesupdate
Open

update list_data_access_roles#1172
m-kovalsky wants to merge 4 commits intomicrosoft:mainfrom
m-kovalsky:m-kovalsky/dataaccessrolesupdate

Conversation

@m-kovalsky
Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings April 15, 2026 09:56
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates list_data_access_roles to support multiple API “views” (rules vs membership), expands returned columns, and includes some minor formatting cleanups.

Changes:

  • Add view parameter to list_data_access_roles and branch parsing/output columns based on the selected view.
  • Include additional role metadata fields (Role Id, Etag, Kind) in the returned DataFrame.
  • Apply small formatting-only refactors in report/admin helpers.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.

File Description
src/sempy_labs/report/_paginated.py Formatting simplification for resolve_item_id call.
src/sempy_labs/admin/_basic_functions.py Formatting cleanup of rows.append({...}) block.
src/sempy_labs/_data_access_security.py Adds view support and reshapes role/membership/rules parsing + output schema.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/sempy_labs/_data_access_security.py
Comment thread src/sempy_labs/_data_access_security.py Outdated
Comment thread src/sempy_labs/_data_access_security.py
Comment thread src/sempy_labs/_data_access_security.py
Comment thread src/sempy_labs/_data_access_security.py
Comment thread src/sempy_labs/_data_access_security.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants