Share » Forums » Developer » View Permissions in new module extension

View Permissions in new module extension

View Permissions in new module extension

Friday 25 July 2008 2:39:49 am - 2 replies

Author Message

Bruce Morrison

Friday 25 July 2008 3:22:50 am

Hi Anne

You have 2 options:
1) Via Roles

Go into the admin -> User Accounts tab -> Roles and policies -> Anonymous -> Edit -> New Policy

You should see your module there, select that and Click on "Grant Access to one Function"

You should then see "read" in the Function dropdown, select this and "Grant Full Access"

2) via site.ini
[RoleSettings]
PolicyOmitList[]=helloworld/helloview
place this option in the extensions site.ini.append.php.

Note: This overrides any Role permissions and will grant access to all users, so be careful using this option.

HTH

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

anne martinet

Friday 25 July 2008 3:56:05 am

Thank you, for your answer.

But the solution that I use, doesn't work ?
It's not possible to give roles to a view, like I do?

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu