equal
deleted
inserted
replaced
30 # |
30 # |
31 # Custom permissions |
31 # Custom permissions |
32 # |
32 # |
33 |
33 |
34 MANAGE_SITE_ROOT_PERMISSION = 'pyams.ManageSiteRoot' |
34 MANAGE_SITE_ROOT_PERMISSION = 'pyams.ManageSiteRoot' |
|
35 '''Permission required to manage main site root properties''' |
|
36 |
35 MANAGE_SITE_PERMISSION = 'pyams.ManageSite' |
37 MANAGE_SITE_PERMISSION = 'pyams.ManageSite' |
|
38 '''Permission required to manager inner site or blog properties''' |
|
39 |
36 MANAGE_TOOL_PERMISSION = 'pyams.ManageTool' |
40 MANAGE_TOOL_PERMISSION = 'pyams.ManageTool' |
|
41 '''Permission required to manager shared tool properties''' |
|
42 |
37 CREATE_CONTENT_PERMISSION = 'pyams.CreateContent' |
43 CREATE_CONTENT_PERMISSION = 'pyams.CreateContent' |
|
44 '''Permission required to create a new content''' |
|
45 |
|
46 CREATE_VERSION_PERMISSION = 'pyams.CreateVersion' |
|
47 '''Permission required to create a new version of an existing content''' |
|
48 |
38 MANAGE_CONTENT_PERMISSION = 'pyams.ManageContent' |
49 MANAGE_CONTENT_PERMISSION = 'pyams.ManageContent' |
|
50 '''Permission required to manager properties of an existing content''' |
|
51 |
39 COMMENT_CONTENT_PERMISSION = 'pyams.CommentContent' |
52 COMMENT_CONTENT_PERMISSION = 'pyams.CommentContent' |
|
53 '''Permission required to add comments on an existing content''' |
|
54 |
40 PUBLISH_CONTENT_PERMISSION = 'pyams.PublishContent' |
55 PUBLISH_CONTENT_PERMISSION = 'pyams.PublishContent' |
|
56 '''Permission required to publish or retire an existing content''' |
41 |
57 |
42 |
58 |
43 # |
59 # |
44 # Base content interfaces |
60 # Base content interfaces |
45 # |
61 # |