Class | Authorization::DevelopmentSupport::ChangeSupporter |
In: |
lib/declarative_authorization/development_support/change_supporter.rb
|
Parent: | AbstractAnalyzer |
Ideas for improvement
Algorithm
NOTE:
Returns a list of possible approaches for changes to the current authorization rules that achieve a given goal. The goal is given as permission tests in the block. The instance method users is available when the block is executed to refer to the then-current users, whose roles might have changed as one suggestion.
Returns an array of GroupedApproaches for the given array of approaches. Only groups directly adjacent approaches