3068 Posts in 868 Topics by 650 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 892 Views |
-
ModelAdmin and permissions to Files and Images

2 April 2010 at 11:51pm
Hi
Some thoughts about permissions and ModelAdminI think the permissions CMS_Main and AssetsAdmin is a bit wierd, a user need the permission CMS_Main to be able to upload a file using ModelAdmin. Shouldn't it be the permission AssetsAdmin?
I have a DataObject with a $has_one relation to a Image and users with CMS_Access_{ModelName} can access it and save it but he can only upload a image if he has CMS_Main. I get a permission error in the iframe (the one that uploads the image) when the user only have AssetsAdmin.
What is AssetsAdmin for then? is it necessary
//Magnus
-
Re: ModelAdmin and permissions to Files and Images

12 April 2010 at 12:10am Last edited: 12 April 2010 12:11am
AssetsAdmin is a pretty high privilege that gives access to all the assets. I would assume you would want to keep that away from most users. It is also all about the back-end administration rather than front-end website, which may explain why AssetsAdmin does not give upload privilege to front-end users.
-- JJ
| 892 Views | ||
|
Page:
1
|
Go to Top |


