Skip to content

Allow explicit definition of ACL evaluation combinator. #12

Description

@amcgregor

Defaults to first-matching, should be an option to require all.

Problematic sample case:

@when(when.authenticated)
class Example:
	@when(when.administrative)
	def example(self): pass

The expectation would be that /example is more secure than /, but when.authenticated always returns an authoritative (non-None) answer. This short-circuits further evaluation, forcing the explicit use of inherit=False.

Alternatively: evaluate how rules are nested and evaluated. Should we reverse the order of evaluation, to deepest-first?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions