I have some custom data objects using model admin, I have setup a new user that i only want to see certian parts of the model admin of which one of these is my dataobject.
When i login as this user the menu shows the appropiate buttons including my data object when i enter that particular object there is no data showing.
I have enterd a couple of entries logged in as admin, am i missing something here? i would like this user to be able to view data entered by other users without having to worry about all the other modeladmin functions i.e assets, Security, pages as they only need to see the dataobject in question and the reports button.
You can use the canCreate() function for a DataObject to determine if an add button is displayed. Same way for the delete button (canDelete) and the edit link (canEdit) in ModelAdmin. Use these methods to check on the current member. Basically he only needs canView() to return true...