Permalink
Browse files

Merge pull request #143 from captsens/master

Authentication/authorisation support and user documentation for dashboard
  • Loading branch information...
mleinart committed Mar 27, 2013
2 parents 09c0277 + b060511 commit 416df5937d86eab4985bc490138cd11426edcf94
@@ -228,6 +228,36 @@ LOGIN_URL
for directing users to an external authentication link such as for Remote User authentication
or a backend such as `django_openid_auth <https://launchpad.net/django-openid-auth>`_
+Dashboard Authorization Configuration
+-------------------------------------
+These settings control who is allowed to save and delete dashboards. By default anyone
+can perform these actions, but by setting DASHBOARD_REQUIRE_AUTHENTICATION, users must at
+least be logged in to do so. The other two settings allow further restriction of who is
+able to perform these actions. Users who are not suitably authorized will still be able to
+use and change dashboards, but will not be able to save changes or delete dashboards.
+
+DASHBOARD_REQUIRE_AUTHENTICATION
+ `Default: False`
+
+ If set to True, dashboards can only be saved and deleted by logged in users.
+
+DASHBOARD_REQUIRE_EDIT_GROUP
+ `Default: None`
+
+ If set to the name of a user group, dashboards can only be saved and deleted by logged-in users
+ who are members of this group. Groups can be set in the Django Admin app, or in LDAP.
+
+ Note that DASHBOARD_REQUIRE_AUTHENTICATION must be set to true - if not, this setting is ignored.
+
+DASHBOARD_REQUIRE_PERMISSIONS
+ `Default: False`
+
+ If set to True, dashboards can only be saved or deleted by users having the appropriate
+ (change or delete) permission (as set in the Django Admin app). These permissions can be set at
+ the user or group level. Note that Django's 'add' permission is not used.
+
+ Note that DASHBOARD_REQUIRE_AUTHENTICATION must be set to true - if not, this setting is ignored.
+
Database Configuration
----------------------
The following configures the Django database settings. Graphite uses the database for storing user
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -10,6 +10,8 @@ Most functions are applied to one :term:`series list`. Functions with the parame
``*seriesLists`` can take an arbitrary number of series lists. To pass multiple series lists
to a function which only takes one, use the :py:func:`group` function.
+.. _list-of-functions :
+
List of functions
-----------------
.. automodule:: graphite.render.functions
View
@@ -9,6 +9,7 @@ Graphite Documentation
carbon-daemons
config-carbon
feeding-carbon
+ config-local-settings
config-webapp
admin-webapp
composer
Oops, something went wrong.

0 comments on commit 416df59

Please sign in to comment.