Role¶
CommunityRole¶
Extends
Group
.-
class
policyengine.models.
CommunityRole
(*args, **kwargs)¶ -
community
¶ The community which the role belongs to.
-
role_name
¶ The readable name of the role.
-
description
¶ The readable description of the role. May be empty.
-
is_base_role
¶ Whether this is the default role in this community.
-
save
(*args, **kwargs)¶ Save the current instance. Override this in a subclass if you want to control the saving process.
The ‘force_insert’ and ‘force_update’ parameters can be used to insist that the “save” must be an SQL insert or update (or equivalent for non-SQL backends), respectively. Normally, they should not be set.
-