I want to give some members only access to the ModelAdmin. When I only choose ModelAdmin in members > Permissions, the member doesn't get access to admin.
When I choose CMSMain and ModelAdmin, the member can log in but only sees CMSMain.
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
I want to give some members only access to the ModelAdmin. When I only choose ModelAdmin in members > Permissions, the member doesn't get access to admin.
When I choose CMSMain and ModelAdmin, the member can log in but only sees CMSMain.
You have to grant access to ModelAdmin and the particular subclass. Eg, if you've created a JournalEntryAdminclass, you need to set the permission to access both ModelAdmin and JournalEntryAdmin.
Thanks Hamish, that was indeed the problem.
Strangely enough the member can't add a photo: Action 'iframe' isn't allowed on class Image_Uploader
Also, the has_many object that is linked doesn't work properly: I can add one, but can't edit it. CanEdit and CanCreate are both set to true.