My Subscriptions

No active or expired subscriptions. View Available Subscriptions

Advanced Search

Home arrow Forum arrow JCal Client 1.6.xarrow 1.6.x General Discussionarrow ACL check problems in latest JCal client 1.6 Beta
Pages: [1]
Print
Author Topic: ACL check problems in latest JCal client 1.6 Beta  (Read 258 times)
McTristan
Newbie
*

Karma: +0/-0
Posts: 1


View Profile Email
« on: March 12, 2008, 02:54:25 PM »

Seems like the has_priv-function in functions.inc.php seems to have a problem with the ACL check. If a calendar category is set to "public frontend" a registered user should be able to see this category as well. However, the current check just checks whether the current user group is equal to the event category user group ( a == b).

Instead it should check whether the current users group rank is higher or equal to the categories user group ( a >= b).
The way it is currently implemented does not show any calendar entries in the latest events module or in the calendar if these entries have a category of type e.g. "public frontend" and the user is "registered".
Logged
Bosswaiter
Newbie
*

Karma: +0/-0
Posts: 16


View Profile
« Reply #1 on: March 13, 2008, 06:16:44 AM »

... which would be the answer to the "blank/white calendar"-problem
http://dev.anything-digital.com/Forum/1.6.x-General-Discussion/2680-White-calendar-for-registered-user/

Thank you for finding and describing!
Logged
dolm
Newbie
*

Karma: +0/-0
Posts: 2


View Profile
« Reply #2 on: June 05, 2008, 10:16:03 AM »

Does anybody know the solution to the problem mentioned above (ACL checks)? I can't seem to find out how to change the group a==b into group a>=b...

Thanks in advance

Regards, M.
Logged
Pages: [1]
Print
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com

Original Joomla Template design by RocketTheme ( Conversion by Bloc)