Skip to content
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

fix(recall): #MZI-216 update recall admin's rights #89

Merged
merged 2 commits into from
Jul 4, 2023
Merged

Conversation

aymericdevriesere
Copy link
Contributor

@aymericdevriesere aymericdevriesere commented May 23, 2023

Describe your changes

Update admin recall rights to enable all ADML and ADMC to accept, list and delete recalls.

Checklist tests

  • List all the recall as an ADMC
  • Accept a recall as an ADMC
  • Delete a recall as an ADMC

Issue ticket number and link

[ MZI-216 ]
https://jira.support-ent.fr/browse/MZI-216

Checklist before requesting a review (magic string, indentation, comment/documentation...)

  • I have detailed the tests to do in my feature/fix in order to prevent consequents regressions (must specify in Checklist tests)
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (API Doc etc...) - (must specify in Description for target version)
  • If it is a consequent feature, I have added thorough tests.
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been added to this project (must specify in Description)

Comment on lines +141 to +143
@SecuredAction(RecallRights.ZIMBRA_RECALL_ADMIN)
public void initRecallAdminRight(final HttpServerRequest request) {
}

Choose a reason for hiding this comment

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

Est ce que c'est utile ?

Copy link
Contributor

Choose a reason for hiding this comment

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

Perso je fais ça sur Formulaire et j'aime bien : ça permet d'avoir le droit initialisé par une fonction dédiée plutôt que par une fonction random dans tes controllers et au passage du coup qu'elle est un nom parlant associé

Comment on lines +141 to +143
@SecuredAction(RecallRights.ZIMBRA_RECALL_ADMIN)
public void initRecallAdminRight(final HttpServerRequest request) {
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Perso je fais ça sur Formulaire et j'aime bien : ça permet d'avoir le droit initialisé par une fonction dédiée plutôt que par une fonction random dans tes controllers et au passage du coup qu'elle est un nom parlant associé

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