ipublikuj-archive / permissions

Simple permission checker for Nette Framework (2.4+)
Other
13 stars 7 forks source link

IPermission::getPrivilege() return value could be NULL #5

Closed jaygridley closed 5 years ago

jaygridley commented 6 years ago

Hi, I think return value of https://github.com/iPublikuj/permissions/blob/c5471759b43953b11264f0fb7f2a0c942d9ca23f/src/IPub/Permissions/Entities/Permission.php#L84 could be NULL in case of Nette\Security\IAuhtorizator::ALL.