Package turbogears :: Package identity :: Module saprovider :: Class TG_Permission

Class TG_Permission

source code

object --+
         |
        TG_Permission

A relationship that determines what each Group can do.

Instance Methods
 
__repr__(self)
repr(x)
source code
 
__unicode__(self) source code
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods
 
by_permission_name(cls, permission_name)
Look up Permission by given permission name.
source code
 
by_name(cls, permission_name)
Look up Permission by given permission name.
source code
Class Variables
  description = <sqlalchemy.orm.attributes.InstrumentedAttribute...
  groups = <sqlalchemy.orm.attributes.InstrumentedAttribute obje...
  permission_id = <sqlalchemy.orm.attributes.InstrumentedAttribu...
  permission_name = <sqlalchemy.orm.attributes.InstrumentedAttri...
Properties

Inherited from object: __class__

Method Details

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__

Class Variable Details

description

Value:
<sqlalchemy.orm.attributes.InstrumentedAttribute object at 0x7f0d11a31\
d90>

groups

Value:
<sqlalchemy.orm.attributes.InstrumentedAttribute object at 0x7f0d11a31\
b10>

permission_id

Value:
<sqlalchemy.orm.attributes.InstrumentedAttribute object at 0x7f0d11a31\
c10>

permission_name

Value:
<sqlalchemy.orm.attributes.InstrumentedAttribute object at 0x7f0d11a31\
cd0>