Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

[tests-only][full-ci]Assign role using graph api - #8382

Merged
amrita-shrestha merged 3 commits into
masterfrom
assginRoleThroughGraphApi
Feb 10, 2023
Merged

amrita-shrestha merged 3 commits into
masterfrom
assginRoleThroughGraphApi

Conversation

@amrita-shrestha

Copy link
Copy Markdown
Contributor

Description

This PR adds a method to assign roles to user using graph api

Related Issue

Motivation and Context

How Has This Been Tested?

  • Locally

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

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

Open tasks:

  • ...

@SagarGi SagarGi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM 👍 if CI is green. I think you can also clean up the settings if its not used by other steps.

@amrita-shrestha
amrita-shrestha force-pushed the assginRoleThroughGraphApi branch 2 times, most recently from d985c82 to 1aa0304 Compare February 7, 2023 15:12
@amrita-shrestha
amrita-shrestha marked this pull request as ready for review February 7, 2023 16:59
@amrita-shrestha
amrita-shrestha force-pushed the assginRoleThroughGraphApi branch from 1aa0304 to 97eaecc Compare February 8, 2023 06:43

@saw-jan saw-jan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

looks good

@amrita-shrestha
amrita-shrestha force-pushed the assginRoleThroughGraphApi branch from d9a11e0 to cbbb402 Compare February 9, 2023 10:16
Comment thread tests/e2e/support/store/role.ts Resolved

@saw-jan saw-jan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Others looks good

@amrita-shrestha
amrita-shrestha force-pushed the assginRoleThroughGraphApi branch from cbbb402 to c285ede Compare February 9, 2023 11:04
@@ -6,9 +6,9 @@ Feature: spaces management
| Alice |
| Brian |
And "Admin" assigns following roles to the users

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

only comment, we can do it in separate PR.
maybe change it as: And "Admin" assigns following roles to the users using API?
and change another steps from https://github.com/owncloud/web/blob/master/tests/e2e/cucumber/steps/api.ts

Comment thread tests/e2e/support/api/graph/utils.ts Resolved
@v-scharf

v-scharf commented Feb 9, 2023

Copy link
Copy Markdown
Contributor

looks cool. thanks for redoing it to use the new graph methods ❤️

@amrita-shrestha
amrita-shrestha force-pushed the assginRoleThroughGraphApi branch from c285ede to fae0922 Compare February 10, 2023 03:40
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@saw-jan
saw-jan requested a review from v-scharf February 10, 2023 04:59

@v-scharf v-scharf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@amrita-shrestha
amrita-shrestha merged commit 1f07b7e into master Feb 10, 2023
@delete-merged-branch
delete-merged-branch Bot deleted the assginRoleThroughGraphApi branch February 10, 2023 08:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[e2e] Assign roles via graph API

5 participants