Re:Chromium project finds that 70% of security defects are m...
by viraptor on Sunday May 24, 2020 @04:15AM
(#23290040)
That assumes you know all the roles ahead of time. In many systems they will consist of a large number of variant both in how they authenticate and in what they're allowed to do. It may even depend on environment ideas which cannot be represented in types. (like: user X can issue commands Y, Z in times when they're on call, where "on-call" is a custom operator's rule, not something known earlier)
Re:Chromium project finds that 70% of security defects are m...
by fetbaffe on Sunday May 24, 2020 @06:32AM
(#23290590)
But you do know every permission in advance, thus static. How a user gets a permission can be dynamic.
Re:Chromium project finds that 70% of security defects are m...
by ralls_ebfe on Sunday May 24, 2020 @04:07AM
(#23290005)
This, or a union of access rights in a case where roles may be defined in a database.
authenticate() : role1 | role2