Loading...
 
Skip to main content

Tiki Calendar Permissions--they're kinda messed up.

Status
Closed
Subject
Tiki Calendar Permissions--they're kinda messed up.
Version
11.x
Category
  • Consistency
  • Usability
Feature
Calendar
Resolution status
Fixed or Solved
Submitted by
jcarter
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

Tiki calendar object permissions do not work properly. (Or, I am not understanding how they should work correctly.)

It is my understanding that object permissions should override global permissions. In the case of calendar, this means that if there are no global permissions granted, but there are object permissions set on a calendar, the calendar should comply with the object permissions. This is not how calendar currently works.

In order for a user to add an item to a calendar, they must have the add item permission in global permissions, regardless of whether the object permissions grant them that permission.

In the snapshot below, I have it set up as follows to demonstrate this.

User: admin
PW: 12345

User: reg
PW: 12345
Member: Registered

Registered is granted no calendar related permissions globally.

I created a calendar "test" and granted Registered add, change, browse, and view calendar permissions in the object permissions.

User "reg" is unable to add items (button does not appear) to calendar "test" from tiki-calendar.php?calIds=1

I believe that "reg" should be able to add items, as the object permissions allow them to, regardless of global permissions. Note that the view permission seems to be working correctly on the object level of permissions for calendar, as "reg" is still able to view the calendar, though that permission is not granted globally.

Let me know if I'm just crazy and over-thought this into a dumb 😊

Solution
Workaround
Importance
9
Easy to solve?
4
Priority
36
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
4807
Created
Thursday 17 October, 2013 20:30:50 UTC
by jcarter
LastModif
Sunday 05 July, 2026 09:10:37 UTC


Show PHP error messages