Postponed (maintainer needs more info)
Project:
Custom Permissions
Version:
7.x-2.0
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Jun 2012 at 04:02 UTC
Updated:
28 Sep 2014 at 22:21 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commented@Wickwood,
Did you resolve this? I'm looking into this module and want to do similar things to what you were trying.
Comment #2
wickwood commentedNo, I have not resolved this yet I'm sorry to say.
Comment #3
rooby commentedI assume that the anonymous user role doesn't have this permission?
It should work as you want it to.
Also try clearing the drupal cache and then do you still have the same problem?
Comment #4
Ian At Work commentedI am having the same issue. I tried clearing the drupal cache as well. Anonymous user does not have permission and yet can reach urls I don't want him to reach. This is true both for urls with wildcard and without wildcard. have tried full url as well as shortened path.
Comment #5
rooby commentedBack to active then.
Comment #6
mlncn commentedIs this path provided by a view, from Views module, by any chance? Views adds its paths in hook_menu_alter, which is the same place Custom Permissions does its work... so if Views module runs later (and alphabetically it does) then its paths won't be there yet for Custom Permissions to see.
Note that if the path is provided by Views, its better to use Views' own access control to determine access.
We can have Custom Permissions always bat last with menu alter, but in the case of Views, i can't think of a use case.