Bug #1482
ACL rectriction bug
Status: | Closed | Start date: | 2008-09-09 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | - | % Done: | 100% |
|
Category: | - | |||
Target version: | - |
Description
There are defined the following ACL-Rules:
_ MessageCenter_sendMessages_2
_ Role: Alle
_ Access: Deny
_ MessageCenter_sendMessages_2
_ Role: Freund
_ Access: Deny
_ MessageCenter_sendMessages_2
_ Role: Schulfreund
_ Access: Allow
User A (UID: 1) is "Freund" of User B (UID: 2), but not "Schulfreund"
User A can send messages to user B, but User B has restricted the sending of message to "Schulfreund"-Role only.
The check in the class:
$this->accessManager->addResource($this);
if (!$this->accessManager->isAllowed($this)) {
throw new tx_communitymessages_AclRestrictionException();
}
History
#1 Updated by Frank Nägler almost 7 years ago
- Status changed from New to Closed
- Assigned To deleted (
Ingo Renner) - % Done changed from 0 to 100
it not a bug, its a mistake :D