6.0.0-beta1
7/25/25

[#4822] agora permission system doesn't work anymore
Summary agora permission system doesn't work anymore
Queue Agora
Type Bug
State Resolved
Priority 3. High
Owners duck (at) obala (dot) net
Requester vilius (at) lnk (dot) lt
Created 12/29/2006 (6783 days ago)
Due
Updated 12/29/2006 (6783 days ago)
Assigned 12/29/2006 (6783 days ago)
Resolved 12/29/2006 (6783 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/29/2006 07:21:26 PM Duck State ⇒ Resolved
 
12/29/2006 07:21:04 PM Duck Comment #4 Reply to this comment
On the other side, this will force mode administration on an initial 
or simple installation. But of course this is a my personal point of 
view.



I protected the administration actions by return false if checking 
DELETE and the permission don't exits. So in in first install, all is 
allowed and the administration actions are leaved only to the super 
admin.



Duck
12/29/2006 06:59:01 PM vilius (at) lnk (dot) lt Comment #3 Reply to this comment
Sorry for the buzz, but I recreated my permissions and everything went 
back to normal.



However, I do not agree with you about if not permissions are found in 
a scope. I think you should return false instead of true in that case. 
It will be stimulus for the admins to create needed permissions after 
upgrade (like it was in my case).
12/29/2006 06:26:56 PM Duck Comment #2 Reply to this comment
My permission set:
You have this permissions on scope or an a specific forum? If no forum 
or scope permission is set, the access is granted. If exists, it first 
checks the scope and then the forums permission.



We can change the logic a little bit to bi more protective for delete 
permission if no permission is set. For example to grant DELETE 
permission only for admin.
12/29/2006 06:06:58 PM Chuck Hagenbuch Assigned to Duck
State ⇒ Assigned
 
12/29/2006 05:56:17 PM vilius (at) lnk (dot) lt Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ agora permission system doesn't work anymore
Queue ⇒ Agora
State ⇒ Unconfirmed
Reply to this comment
Agora permission system doesn't work anymore. Even guests can move, 
lock, delete messages/forums.



My permission set:

All Authenticated Users: Show, Read

Guests: Show, Read

Owner: Show, Read, Edit, Delete


Saved Queries