Page 1 of 1

manage access rights on Plugins

PostPosted: 4:03am, Thu 13 Sep, 2012
by yveslens
Hello
i'm writing a plugin, but i don't know how to manage access rights for this plugin

can someone help me

Thanks

Re: manage access rights on Plugins

PostPosted: 7:37am, Thu 13 Sep, 2012
by duncanc
You will have to explain what you are trying to do, but the simplest way is to mimic what phplist does for most pages by checking the admin permissions for that page (all, owner, read-only or none).

Re: manage access rights on Plugins

PostPosted: 1:44pm, Mon 24 Sep, 2012
by yveslens
Please Excuse me , i was away a few days

I should like tle link for the plugin appears for some users only in the menu

Re: manage access rights on Plugins

PostPosted: 4:55pm, Mon 24 Sep, 2012
by duncanc
phplist will display links for all plugins in the menu. I don't think that there is an easy way to change that.