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

CRM-20988,Don't display option of Export, Delete etc to users who lack that permission #10791

Merged
merged 2 commits into from
Aug 10, 2017

Conversation

pradpnayak
Copy link
Contributor


Overview

Currently the system allows to Edit, Delete, Export Batch(s) even though the user don't have permission.

Before

before

After

screenshot from 2017-07-31 11-13-37

Technical Details

This PR check's permission for each batch action like Export, Delete, Close, Open, Reopen etc.

----------------------------------------
* CRM-20988: Don't display option of Export, Delete etc to users who lack that permission
  https://issues.civicrm.org/jira/browse/CRM-20988
----------------------------------------
* CRM-20988: Don't display option of Export, Delete etc to users who lack that permission
  https://issues.civicrm.org/jira/browse/CRM-20988
@lcdservices
Copy link
Contributor

tested and confirmed. users without export/delete perms no longer see those actions or are able to perform those actions

@monishdeb
Copy link
Member

Tested on my local, works fine. @colemanw can you please review and merge this PR?

@colemanw colemanw merged commit e758683 into civicrm:master Aug 10, 2017
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.

5 participants