Skip to content

fix: Should fix the deletion of permissions when resource name is uppercase #1012

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

Conversation

ovidiupopa07
Copy link
Contributor

After the update to make all resource names lowercase, the user role sync process deletes the permission if the resource name (provided by the ResourceProvider) is in uppercase and the one in DB is in lowercase.

…ercase

After the update to make all resource names lowercase, the user role sync process deletes the permission if the resource name (provided by the ResourceProvider) is in uppercase and the one in DB is in lowercase.
@ovidiupopa07 ovidiupopa07 force-pushed the fix/fix-permission-update-when-resource-name-uppercase branch from 323f5f0 to ac55c7e Compare February 6, 2023 15:44
Copy link

@kkotula kkotula left a comment

Choose a reason for hiding this comment

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

👏🏻

@ovidiupopa07 ovidiupopa07 marked this pull request as ready for review February 6, 2023 16:22
@jasonmcintosh jasonmcintosh added the ready to merge Approved and ready for merge label Feb 7, 2023
@mergify mergify bot added the auto merged label Feb 7, 2023
@mergify mergify bot merged commit 6d4bcfc into spinnaker:master Feb 7, 2023
@jasonmcintosh
Copy link
Member

@Mergifyio backport release-1.28.x release-1.29.x release-1.27.x

mergify bot pushed a commit that referenced this pull request Feb 7, 2023
…ercase (#1012)

After the update to make all resource names lowercase, the user role sync process deletes the permission if the resource name (provided by the ResourceProvider) is in uppercase and the one in DB is in lowercase.

(cherry picked from commit 6d4bcfc)
mergify bot pushed a commit that referenced this pull request Feb 7, 2023
…ercase (#1012)

After the update to make all resource names lowercase, the user role sync process deletes the permission if the resource name (provided by the ResourceProvider) is in uppercase and the one in DB is in lowercase.

(cherry picked from commit 6d4bcfc)
mergify bot pushed a commit that referenced this pull request Feb 7, 2023
…ercase (#1012)

After the update to make all resource names lowercase, the user role sync process deletes the permission if the resource name (provided by the ResourceProvider) is in uppercase and the one in DB is in lowercase.

(cherry picked from commit 6d4bcfc)

# Conflicts:
#	fiat-sql/src/test/kotlin/com/netflix/spinnaker/fiat/permissions/SqlPermissionsRepositoryTests.kt
@mergify
Copy link
Contributor

mergify bot commented Feb 7, 2023

backport release-1.28.x release-1.29.x release-1.27.x

✅ Backports have been created

link108 pushed a commit that referenced this pull request Feb 7, 2023
mergify bot added a commit that referenced this pull request Feb 7, 2023
…ercase (#1012) (#1014)

After the update to make all resource names lowercase, the user role sync process deletes the permission if the resource name (provided by the ResourceProvider) is in uppercase and the one in DB is in lowercase.

(cherry picked from commit 6d4bcfc)

Co-authored-by: ovidiupopa07 <[email protected]>
@jasonmcintosh jasonmcintosh deleted the fix/fix-permission-update-when-resource-name-uppercase branch March 10, 2023 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants