Loading...
 
Features / Usability

Features / Usability


Category not overriding global permissions

posts: 3 Brazil

Hello,

I have never used TikiWiki before and I set up a fresh install with the latest version. So my problem is:

-I want to use Categories to restrict access to images and files

To do that, I created a category "CAT_1" and placed "IMAGE_1.JPG" in that category.

Then I created a group "GROUP_1" (inherited from Registered) and placed "USER_1" in it.

Now about permissions:

I removed ALL the "Files Galleries" permissions from global permissions on both groups, Registered and GROUP_1.

When I did that, USER_1 stopped being able to see the files on the wiki.

Then I changed CAT_1 permissions (according to the page, it overrides the global permissions) to ALLOW USER_1 and Registered to see the Files Galleries. I was expecting to see the file IMAGE_1.JPG that is in CAT_1, but USER_1 continues to see nothing.

I searched on the Forum for a solution, but none of them worked for me.

Can someone help me to solve that problem? I want to restrict files access using Categories and Groups, thank you all very much.

posts: 2428 Czech Republic

Hi!

Sometimes one needs to clear Tiki cache. Did you try that?

Edit: also to display files from gallery you must assign tiki_p_download_files permission, viewing gallery is not enough.

luci

posts: 3 Brazil
Hello luciash, thanks for the reply. Yes I cleared the cache, but unfortunately it did not solve the problem. I gave all the permissions of the "file galleries" tab, including tiki_p_download_files permission, no success...

posts: 8633 Israel

Hello Augusto,

A lot of people are using category to "jail" permission, but your issue may be related to a bug...

Please create a ticket at : https://dev.tiki.org/Wishlist
And reproduce the issue by creating a 18.x instance under the "Demonstrate Bug" field on this ticket.
Set a simple sample with your exact "not working" configuration.

  • You’ll be able to see how it work in a more "neutral" environment
  • Any one that will try to solve will be able to work directly on the code (and not waste time trying to reproduce)
  • Once fix is committed, after 12h you can upgrade the instance and see the fix live before applying on your website.


Have a nice week-end
Bernard

posts: 3 Brazil

Hello Bernard,

Sorry about the huge delay, and thank you very much for your help! I created the Wish and I am now waiting, thank you!

Best Regards,
Augusto Mattos


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting