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

Delete button is always present, even with no delete permission #5048

Open
Yivan opened this issue Oct 2, 2019 · 2 comments

Comments

@Yivan
Copy link
Contributor

commented Oct 2, 2019

Hello,

The delete action is always present in the grid mode, even if the user don't have the permission to delete. Even if a denied message is return (check permission on php side), it would be more reassuring for final pimcore users if it is not displayed.

Here is an example on the website demo online :

delete

I know this can be tiedous to manage as the grid can display objects from subfolder having different permissions. But same problematic exists for the tree object too and is well handled ?

Purpose of this issue is to:

  • no more display delete action if the user cannot delete
  • maybe check all is ok on the object tree too

Thanks

@weisswurstkanone

This comment has been minimized.

Copy link
Contributor

commented Oct 3, 2019

I think that is hard the achieve when it comes to multiselections.

@NiklasBr

This comment has been minimized.

Copy link
Contributor

commented Oct 3, 2019

I think this issue is related: #4943 where the Unpublish action is possible in grid view but not on single data objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.