Closed (fixed)
Project:
Views Add Button
Version:
8.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Apr 2019 at 21:05 UTC
Updated:
22 May 2019 at 05:49 UTC
Jump to comment: Most recent
Comments
Comment #2
laboratory.mikeThe module should check for access before rendering the button, so there might be a settings issue, otherwise we have a bug. If you don't mind, could you provide the following for me?
- The current version of the module you are using
- If it is the dev version (which has code for #3048596: Conditional hiding /disabling), which plugins did you pick?
- Which entity type are you rendering a button for? I'm guessing nodes/content, but would like to confirm.
I can investigate from there.
Comment #3
laboratory.mikeOK, after some review, I decided to add a checkAccess() method to the three entity default plugins, ViewsAccessButtonNode, ViewsAccessButtonUser, and ViewsAccessButtonTaxonomy. I tried it on my local and I see that users without create permissions are not seeing the link. I am including this as a part of the 8.x-1.1 release.
Let me know if you need anything else, after you download/try version 1.1.