nette/security

Permission - protected variables

f3l1x opened this issue · 3 comments

For better extending I suggest to make these variables protected.

Is it ok? I'll prepare PR.

👎 Why do you need that? There is a public API to manipulate rules in consistent manner.

I would like to change behavior of roles. Protected could solve it, I understand why is it private but also it's impossible extending.

 I would like to change behavior of roles.

That would probably violate LSP.