Feature request - Should we treat 'create' permission differently
Reported by dleffler | July 23rd, 2013 @ 07:38 PM | in 2.2.3 (closed)
We currently treat the 'create' permission as needed to create new documents and also grant it an assumed 'edit' permission...meaning if you can create new items, you should also be able to edit them...esp. since we handle this on a module wide basis and NOT on an item by item basis...
Perhaps we need to allow item 'poster' as the owner of the item and also allow them permission to edit & delete that specific item. Meaning disconnect the create & edit perms since they apply module-wide and use the 'create' permission to allow creation of new items ONLY, but by creating an item, you are assigned as 'poster' and have 'edit' & 'delete' perms for that item.
Scenario. You have a module with many unrelated authors who have authority to add and maintain their entries, but can NOT alter other authors' items.
Comments and changes to this ticket
-
expNinja September 13th, 2013 @ 04:55 AM
(from [65be3fc68cc95b52faedb85ddced8bb429784dbe]) Cleans up some code and updates all 'add' links/buttons to use 'create' permission alone [#1057] https://github.com/exponentcms/exponent-cms/commit/65be3fc68cc95b52...
-
expNinja September 16th, 2013 @ 10:40 AM
- State changed from new to resolved
(from [3e8bedfe56547d356828544adc5a7ab6cf4f36d3]) Now treats 'create' permission as unique to allow editors access to only those items they create; cleans up some unneeded template code (boolean test doesn't require an ==1, etc...) Updates some templates which used 'edit' perm test for creating new item (add) icon[#1057 state:resolved] https://github.com/exponentcms/exponent-cms/commit/3e8bedfe56547d35...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS