the allowed method only return explicit resource -> it doesn't return resources allowed to role that a caller inherits.
Ie :
Role ABC has privilege on Resource 1
And
Caller XYZ has privilege on Resource 2
And
Caller XYZ has Role ABC
when I make : $lock->caller($caller)->allowed(xxxx), it returns only [Resource 2]