Skip to content

Commit

Permalink
Merge pull request #920 from xliiv/bound-perms
Browse files Browse the repository at this point in the history
Bound-perms
  • Loading branch information
xor-xor committed Jun 11, 2014
2 parents ceded05 + d0a9331 commit 91e3aa8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion doc/permissions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,9 @@ List of bound permissions
+----------------------+-------------------------------------+
|virtualserver |read_dc_structure |
+----------------------+-------------------------------------+

|global_module_access |has_asset_access |
+----------------------+-------------------------------------+
|global_module_access |has_core_access |
+----------------------+-------------------------------------+
|global_module_access |has_scrooge_access |
+----------------------+-------------------------------------+
3 changes: 3 additions & 0 deletions src/ralph/account/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ class Perm(Choices):
read_device_info_support = _("read device purchase info")
read_device_info_history = _("read device history info")
read_device_info_reports = _("read device reports")
has_asset_access = _("has_asset_access")
has_core_access = _("has_core_access")
has_scrooge_access = _("has_scrooge_access")


class Profile(BasicInfo, ActivationSupport, GravatarSupport,
Expand Down

0 comments on commit 91e3aa8

Please sign in to comment.