Loading...
 
Skip to main content

Features / Usability


Permission denied after enabling tiki_p_create_file_galleries

Is there anyone here willing to help me understand this permissions issue?

Global permission for tiki_p_create_file_galleries is turned off for "Registered" group.

After enabling same for group "X" at object level for a 'sub folder', members of group "X" see the "Create a file Gallery" button. But when clicked, there is a "permission denied' message.

Hi hrsms,

sometimes specific preferences need to be apllied in general to make it possible to use these or other preferences in categories or with objects.

I can imagine that in your case a specific general permission is necessary for group "X" and as it is missing, this somehow "blocks" the actual specific object permission.

Example:

You have a pool of cars and a number of departments.

You organise the car pool and say "car number 5" is assigned to department "X".
But the employees of department "X" never got a briefing to use cars in the company and thus no one would have the permission to drive any car at all.

So the "car number 5" is the object and assigning to department "X" would be the object permnission.
But there must be a general permission, which would correspond to the "briefing".

=> maybe a general permission to upload files or to view the file gallery path ... I do not know the exact solution, but that would be the direction, I recommend you to look for.

Please report, if this did help you.

Thx and cheers
Torsten


I thought of this, but there is the issue with granting permission at a higher level in the file gallery structure.

All users are in a group that allows them to view all file galleries and download files. That seems to be working fine. Signed in as a user I can go everywhere and see everything in the galleries.

There is, of course, the root level for the file galleries. I want to restrict "create" permission here.

There are several galleries at the top level. One is "User Folders". I don't want them to create new galleries here either.

Within the "User Folders" gallery is a gallery for each user. So the structure is something like this:

root
- Other Folder 1
- Other Folder 2
- User Folders
-- Bob
-- Cindy
-- Scott
-- Jennifer

I want them to be able to create galleries within their private gallery. So each user has a private group, and that private group is given permission to "create" galleries in their private gallery.

I tested this signed in as a user instead of admin, and I can navigate through all the galleries. If I am in a higher level gallery or a private gallery of another member, I do not see the "Create a file gallery" button. When I enter my own private gallery, the button appears. But if I click on it, I get the permission error.

Is the answer to allow users to create galleries at the root level and each level inbetween root and their private gallery? If so, I can remove permission in "Other Folder 1", "Other Folder 2" and each of the private galleries that do not belong to that user. But there seems to be no way to prevent them from creating galleries at the root or within "User Folders". I'd avoid that if I could.


Is there a way to get information from the system regarding where the permission check failed?

tiki_p_view_fgal_explorer, tiki_p_view_fgal_path, tiki_p_create_file_galleries are all enabled for a group to which the logged in user belongs.

This was done at the object level for the root gallery, the one intermediate gallery, and the gallery in which the user is trying to create a new gallery (three levels).

The "Create file gallery" button is enabled, but still there is a "permission denied" message when that button is clicked.

Are there tools for an admin to determine which permission setting is blocking the request?


It appears that category permissions were interfering with this. Isn't that a bug? When I give permission at the object level, shouldn't that override the category settings?

Generally same (identical) permissions should override object over category over general.

Some permissions are special and it is a complex task to organise the permissionmanagement in a very easy way.

You have to know the permissions and how they interfere with each other very well and most of the work seems not to be the configuration by clicking tickboxes, but to create the concept on a sheet of paper (and track on a wikipage 😉 )

Sure, there is a possibility that there would be a bug, but since I work with the system all my permission problems have been configuration failures by myself.

Cheers
T.


This is still unresolved.
I removed global permission for all file gallery settings.
There are now no category overrides.
I added all file gallery permissions at the object level for a sub-gallery...still get the permission denied message.

If I add global permission for all file gallery settings, now I can create a gallery. It seems that object-level settings are not overriding global settings as they should. Is anyone else seeing this? (version 9.2)


Hi, this is not exactly your problem but it may help out ?

I am using version 10 and I wanted to hide one wiki page made by admin from the Anonymous group.

Using the object permission page of the wiki page, I turned off the "Can view page/pages (tiki_p_view)" attribute.

However, after loging off, and connecting as Anonymous I could still see the page.

It turns out that you have to turn off the "Can view page/pages (tiki_p_view)" AND "Can admin the wiki (tiki_p_admin_wiki)" attributes to hide the wiki page from the Anonymous group.