Table of Contents

Class: Context ./src/peak/security/rules.py

Context in which security rules apply

Methods   
__anybodyGetsAnybody
__denyByDefault
__nobodyGetsNobody
__nonAttributeAllowsAnybody
__undefinedPermission
hasPermission
permissionFor
  __anybodyGetsAnybody 
__anybodyGetsAnybody (
        self,
        user,
        perm,
        subject,
        )

  __denyByDefault 
__denyByDefault (
        self,
        user,
        perm,
        subject,
        )

  __nobodyGetsNobody 
__nobodyGetsNobody (
        self,
        user,
        perm,
        subject,
        )

  __nonAttributeAllowsAnybody 
__nonAttributeAllowsAnybody (
        self,
        subject,
        name,
        )

  __undefinedPermission 
__undefinedPermission (
        self,
        subject,
        name,
        )

  hasPermission 
hasPermission (
        self,
        user,
        perm,
        subject,
        )

Does user have permission perm for subject?

  permissionFor 
permissionFor (
        self,
        subject,
        name=None,
        )

What permission is needed to access attrib name of subject?


Table of Contents

This document was automatically generated on Mon Apr 15 01:11:04 2024 by HappyDoc version 2.1