WoltLab/com.woltlab.wcf.acl — Issue #6: Easier way to get permission value
Author: Gravatronics
Created: 2012-02-13 21:14:56+00:00
State: open

Personally, I think that the API is currently a bit to complicated if you simply have a certain database object and a permission and you want to get the active user's permission value. I would personally just like to give those two things to the `ACLHandler` class and get my result (permission value or null if neither a relevant group or user permission exists) like:

```php
getPermission($databaseObject, $permissionName);
```

The problem that you don't explicitly have the object type of the database object could be solved, if the database object itself would know its (acl) object type.