rapila / cms-base

The rapila cms’ internals. Please file all issues here if they’re not directly related to a plugin or the sample site.
http://www.rapi.la
3 stars 1 forks source link

FileUpload and Rights #160

Open juergmessmer opened 11 years ago

juergmessmer commented 11 years ago

Often file upload is used in modules or plugins and the user does not necessarily have the rights to manage documents

The user with rights to manage the module than can upload files should be able • to upload a document (is implemented) • and upload it to a specific document_category (not necessarily externally managed!) The yet incorrect permissions have been temporarily fixed with commit 82ec072

Best practice would be if that user could be given the rights to upload documents to specific categories only. In the ImagePicker of the CKEeditor only the categories allowed should be displayed an ready for upload. Therefor we need no improve the rights so this can be done easily.

Discuss this and consider other use cases related. The issue #80 is definitely related to this too

sabberworm commented 11 years ago

I don’t know what #80 has to do with this.

juergmessmer commented 11 years ago

Like this: if we give the rights to admin journal to a person and we realize that we have to give them the right to admin documents (or a particular category) then it would be nice to create the group/or role within the context of the user detail instead of having to create the role and edit the group in their own module.