Forums / Developer / Check permissions per URI-string?

Check permissions per URI-string?

Author Message

perrin aybara

Monday 21 March 2005 1:29:50 am

Is there a way to check if the current user has access to a given URI? (without actually running the requested module, that is)

Ɓukasz Serwatka

Monday 21 March 2005 1:43:41 am

Hi,

You can check access directly using "access"
http://ez.no/ez_publish/documentation/reference/data_fetching/content/access

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

perrin aybara

Tuesday 22 March 2005 12:21:50 am

thanks for the reply, but i was thinking about checking access for a URI - not a content object/node.

The reason for this, is that I want to hide any menu-items in the admin-interface which the user hasn't access to...