[Checkins] SVN: bluebream/website/docs/v1.0/tutorial4.rst Added section references
Baiju M
baiju.m.mail at gmail.com
Wed Aug 18 03:31:22 EDT 2010
Log message for revision 115751:
Added section references
Changed:
U bluebream/website/docs/v1.0/tutorial4.rst
-=-
Modified: bluebream/website/docs/v1.0/tutorial4.rst
===================================================================
--- bluebream/website/docs/v1.0/tutorial4.rst 2010-08-18 06:16:57 UTC (rev 115750)
+++ bluebream/website/docs/v1.0/tutorial4.rst 2010-08-18 07:31:22 UTC (rev 115751)
@@ -50,24 +50,26 @@
ZCML, leaving the Python code untouched, which is another advantage of using
BlueBream.
+.. _tut4-delcare-permissions:
+
Delcarations of Permissions
---------------------------
Permissions have to be explicitly defined. For our ticket collector it will
suffice to define the following four basic permissions:
-*View* - Allow users to access the data for tickets and comments. Every
+**View** - Allow users to access the data for tickets and comments. Every
regular ticket collector user is going to have this permission.
-*Add* - Allows someone to add a ticket or comment on tickets. Note that
+**Add** - Allows someone to add a ticket or comment on tickets. Note that
every regular user is allowed to do this, since adding tickets and
commenting must be possible.
-*Edit* - Editing ticket details (after it is created) is only a permission
+**Edit** - Editing ticket details (after it is created) is only a permission
given to the admin user (for moderation), since we would not want a regular
user to be able to manipulate tickets after creation.
-*Delete* - The admin must be able to get rid of comments, of course.
+**Delete** - The admin must be able to get rid of comments, of course.
Therefore the delete permission is assigned to her. Note that this
permission does not allow the admin to delete ticket collector objects.
@@ -113,6 +115,8 @@
a longer explanation that serves more or less as documentation. Both the
*id* and *title* are required attributes.
+.. _tut4-use-permissions:
+
Using the Permissions
---------------------
@@ -175,6 +179,8 @@
access the TicketCollector and/or Ticket instances. Therefore we need to
create some roles next and assign permissions to them.
+.. _tut4-delcare-roles:
+
Declaration of Roles
--------------------
@@ -237,6 +243,8 @@
make it a valid directive. All three security objects are specified by
their id.
+.. _tut4-roles-principals:
+
Assigning Roles to Principals
-----------------------------
More information about the checkins
mailing list