Loading...
 
Skip to main content

tiki_p_admin_objects enabled for a user, but no key icon appears in file gallery

Status
Pending
Subject
tiki_p_admin_objects enabled for a user, but no key icon appears in file gallery
Version
1.9.x
Category
  • Error
Feature
File Gallery (elFinder or standard UI)
Permission
Submitted by
glumdalclitch
Lastmod by
glumdalclitch
Rating
(0)
Description

i want to share files between groups of users, some can upload, some only download, others administrate (create and manage file galleries).
my problem is that the administrator users cannot easily assign permissions to the file galleries:
via a dedicated group i assigned tiki_p_admin_file_galleries and tiki_p_admin_objects to those users, but the key symbol to assign permissions to file gallery objects does not appear for those users. they can, however, use the link tiki-objectpermissions.php manually.

does the feature to show the objectpermissions depend on any other flags/permissions?
i could not find any hint in the documentation so far..

Solution

in the meantime i have a fix which works for me:

in the file templates/tiki-file_galleries.tpl revision 1.26.2.19, i changed line 202 from
{if $tiki_p_admin eq 'y'}
to
{if $tiki_p_admin eq 'y' or $tiki_p_admin_file_galleries eq 'y'}

any comments? i am new to tikiwiki, maybe there are design guidelines to restrict changing permissions to admins
(i.e, users who have tiki_p_admin)?

Importance
4
Priority
20
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1217
Created
Monday 16 July, 2007 11:27:53 UTC
by Unknown
LastModif
Tuesday 17 July, 2007 06:06:26 UTC


Show PHP error messages