User can set permissions of file gallery when tiki_p_assign_perm_file_gallery is OFF
- Status
- Open
- Subject
- User can set permissions of file gallery when tiki_p_assign_perm_file_gallery is OFF
- Version
- 12.x
- Category
- Error
- Feature
- Permission
- Resolution status
- New
- Submitted by
- hrsms
- Lastmod by
- hrsms
- Rating
- Description
Global permissions:
tiki_p_assign_perm_file_gallery
tiki_p_admin_file_galleries
all groups = OFFCreated users "A" and "B"
Created group "GroupA" of which "A" is a member
Created group "GroupB" of which "B" is a memberCreated category "UserACat"
Permissions for category "UserACat":tiki_p_add_object
GroupA = ON
GroupB = OFF
tiki_p_remove_object
GroupA = ON
GroupB = OFF
tiki_p_modify_object_categories
GroupA = ON
GroupB = OFFWith these settings, "A cannot set the category of the gallery because that is done by selecting the "Edit Gallery" button, which is not activated. To activate this:
tiki_p_admin_file_galleries
GroupA = ON
GroupB = OFFNow the "Edit Gallery" is activated, but so is the "Permissions" button, despite the fact that tiki_p_assign_perm_file_gallery is OFF
Update:
In the tiki show instance, when the user clicks the Permission button, it says the user does not have permission to set permissions. I do not get this message in my actual tiki installation - the user can set permissions. I'll investigate further. However, if they don't have permission, I think the button should not be there.Update:
Attempted workaround by setting "GroupACat" for the "Default category assigned to uncategorized objects edited by a user with this default group" option for "GroupA".I presumed that every forum post, every file uploaded, every "everything else" would be categorized. That seems excessive, and would create a lot of garbage in the database. I do what this for new file galleries created by user "A". However, when the user creates a new file gallery, it is not assigned "UserACat". So this approach will not work.
- Importance
- 7
- Priority
- 35
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 5813
- Created
- Wednesday 10 February, 2016 03:48:27 UTC
by hrsms - LastModif
- Wednesday 10 February, 2016 04:55:14 UTC