10375 Posts in 2190 Topics by 1707 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 908 Views |
-
Permissions to add/edit modeladmin components

4 June 2010 at 2:07pm
I'm running 2.4.0 + cmsworkflow + dataobject_manager.
I've added several classes that extend ModelAdmin...so far, so good.
However, I'd like to allow roles other than admin (like publisher and author) to add and edit items defined by the ModelAdmin classes I've created.
I've ticked the "Access to 'xxx' section" on the roles tab of the security section...and this allows other user to search and view items, but not add or edit. What other item(s) need to be ticked to enable other users to add and edit items? Or is there some other way that this needs to be done?
Many thanks.
Cheers,
Laurie -
Re: Permissions to add/edit modeladmin components

16 June 2010 at 3:52am
Hi,
overriding the folwoing functions to true works...
function canCreate() {return true;}
function canEdit() {return true;}
function canDelete() {return true;}Barry
| 908 Views | ||
|
Page:
1
|
Go to Top |


