Skip to content

Conversation

@jscyo
Copy link
Contributor

@jscyo jscyo commented Apr 14, 2022

Summary of change

  • renames addPermissionToRole_Transaction -> addPermissionToRoleOrDoNothingIfExists_Transaction

Related issues

Test Plan

  • run core tests which use addPermissionToRoleOrDoNothingIfExists_Transaction`

Documentation changes

(If relevant, please create a PR in our docs repo, or create a checklist here highlighting the necessary changes)

Checklist for important updates

  • Changelog has been updated
  • pluginInterfaceSupported.json file has been updated (if needed)
  • Changes to the version if needed
    • In build.gradle
  • Had installed and ran the pre-commit hook
  • If there are new dependencies that have been added in build.gradle, please make sure to add them in implementationDependencies.json.
  • Issue this PR against the latest non released version branch.
    • To know which one it is, run find the latest released tag (git tag) in the format vX.Y.Z, and then find the latest branch (git branch --all) whose X.Y is greater than the latest released tag.
    • If no such branch exists, then create one from the latest released branch.

Remaining TODOs for this PR

  • none

@jscyo jscyo self-assigned this Apr 14, 2022
@rishabhpoddar rishabhpoddar merged commit 13957c3 into user-roles Apr 14, 2022
@rishabhpoddar rishabhpoddar deleted the user-roles-plugin-interface-changes branch April 14, 2022 08:54
rishabhpoddar pushed a commit that referenced this pull request May 6, 2022
* feat(user-roles): adds some user role queries and functions

* adds TODOs, removes unnecessary comment

* query fixs

* removes comment

* fixs

* adds getRoles function

* fix: renames addRoleToPermission function (#39)

* feat: adds functions for setting a role for a user and retriving user roles (#40)

* adds functions for setting a role for a user and retriving user roles

* fixs

* fix: updates plugin interface functions (#42)

* feat: adds doesRoleExist_transaction and deleteUserRole_transaction (#41)

* feat: adds doesRoleExist_transaction and deleteUserRole_transaction

* updates doesRoleExist_Transaction with FOR UPDATE

* feat: adds getUsersForRoleAPI functions (#43)

* feat: adds RemovePermissionsFromRoleAPI (#44)

* feat: adds getRolesForPermissionAPI function (#45)

* feat: adds deleteAllRolesForUser functions (#46)

* chore:  updates (#47)

* updates

* fixs

* updates CHANGELOG.md
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.

3 participants