Loading...
 
Skip to main content

Category Permissions not taken care properly for showing wiki pages

Status
Closed
Subject
Category Permissions not taken care properly for showing wiki pages
Version
6.x
Category
  • Error
  • Regression
  • Support request
Feature
Category
Permission
Wiki (page view, edit, history, rename, etc)
Wiki Structure (book & table of content)
Resolution status
Fixed or Solved
Submitted by
rodrigososa
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

Please help since we have invested much time and effort in this project, believing Tiki could filter rightly wiki pages based on perms, and since I cannot find a workaround.

When not logged in, Some wiki pages are shown, and Some others Not, while they all have exactly the same set up. They all have been categorized only in "Public Content" category which is set to Show wikis to Anonymous users, while Global perms are set to not show them to anonymous.

At this moment we have two identical wiki pages as setup is concerned:
1) http://mi.solcentral.org/tiki-index.php?page=La+Funci%C3%B3n+Esencial+y+El+Prop%C3%B3sito+de+Vida
which doesn´t show to Anonymous users (and should do it)

and

2) http://mi.solcentral.org/tiki-index.php?page=Sobre+el+Sitio+SolCentral-org
which shows well.
Note that at the botton of this page, in the listing of pages related to the category "Contenido Público" (which is the translation of "Public content"), the page "The Esential Function And Life's Purpose" (wich is the translation of "La Función Esencial y El Propósito de Vida") that is the page 1)... Then if you click on it, it will not show presenting you with the login invitation, allthough is shown in the list as categorized "Public Content".

Other extraneous behavior is that when when you use the Plugin Toc to show the structure, only shows Some wikis on some structures, and on some other structures doesn´t show any wiki.
I have used this:{toc structId="26" order=asc shownum=1 type=fancy } in the wiki:
http://mi.solcentral.org/tiki-index.php?page=e-Books%20Index

Actual estate of config is:

For anonymous:

If Perms on wiki: "La Función Esencial y El Propósito de Vida"

La Función Esencial y El Propósito de Vida Anonymous tiki_p_view Categoría: Public Content
La Función Esencial y El Propósito de Vida Anonymous tiki_p_view_backlink Categoría: Public Content
La Función Esencial y El Propósito de Vida Anonymous tiki_p_watch_structure Categoría: Public Content
La Función Esencial y El Propósito de Vida Anonymous tiki_p_wiki_view_attachments Categoría: Public Content
La Función Esencial y El Propósito de Vida Anonymous tiki_p_wiki_view_comments Categoría: Public Content

Category Perms of "Public Content" are

for anonymous group perms that are ON:

Can view wiki attachments and download (tiki_p_wiki_view_attachments)
Can view page/pages (tiki_p_view)
View page backlinks (tiki_p_view_backlink)

Global Perms are:

on Wiki:

Can view wiki attachments and download (tiki_p_wiki_view_attachments) is ON for Anonymous
Can view page/pages (tiki_p_view) is OFF for Anonymous
View page backlinks (tiki_p_view_backlink) is ON for Anonymous


Fixes tried:

Have tried the opposite: allowing everything to be shown to Anonymous, and then restrict on pages that should be hidden with a "invisible" category with perms tiki_p_view OFF for anonymous group.

And it didn´t work since - again - for Some wikis worked, and for some others not. Even if they are identical.


Using:
Tiki 6.1 fresh code install, on past 6.0 db updated to 6.1.

Solution
Workaround

The problem seem to be with accented (haven´t tried with other special characters) names like:

"La Función Esencial"

for it work it should be replaced by :

"La Funcion Esencial" without accented characters.

The ' character is not allowed also. So something like "Central Sun's mission" will not work.

Also in structures:

All main wiki pages of each Structure should be renamed.

This also affects Plugin TOC

1. by not showing wikis in structures that have accented names, and the wikis that are down in the tree are also not shown

Note:

1. I haven´t seen what happends when having Categories with Accented names.
2. Preview of wikis while editing doesn´t show if they have accented names.

Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3726
Created
Thursday 30 December, 2010 01:36:10 UTC
by rodrigososa
LastModif
Tuesday 30 June, 2026 13:00:08 UTC


Show PHP error messages