Loading...
 
Skip to main content

History: Permission Management

Source of version: 5

Copy to clipboard
            A profile would not be very useful if it could not grant rights appropriately for groups. Profiles allow to create groups and to modify the permissions of existing groups using a unified syntax.

The permissions block is a top level block.

{CODE(caption=>Permission block structure sample,wrap=>1)}
preferences:
 ...
permissions:
 Anonymous:
  allow: [ export_wiki ]
 Registered:
  description: Will be ignored because group is already created
  allow: [ edit, minor ]
  deny: [ export_wiki ]
 Moderators:
  description: Trusted users watching the recent changes to avoid spam
  allow: [ rollback ]
  include: [ Registered ]
  objects:
   -
    type: forum
    id: $moderator_discussion_forum
    allow: [ forun_post, forum_post_topic, forum_read ]
objects:
 ...
{CODE}

As you can see, the ''tiki_p_'' prefix was removed from the permission names to reduce the length and increase readability. 

Permissions can be set to specific objects as long as the ID is known or it was also created by a profile using ObjectReferences. The object type does not have to be supported by TikiProfiles, but a static ID will have to be provided.

The include property can be a single value or an array.
        

History

Information Version
Tue 08 of Nov, 2011 23:25 UTC Marc Laporte In fact, group descriptions do update... 30
Mon 13 of Sep, 2010 22:28 UTC Marc Laporte cleaner 29
Thu 08 of Apr, 2010 14:34 UTC idealpragmatist add link to object types. 28
Thu 08 of Apr, 2010 13:22 UTC idealpragmatist about category perms . . . 27
Tue 06 of Apr, 2010 13:35 UTC Jonny Bradley 26
Thu 01 of Apr, 2010 05:02 UTC idealpragmatist 25
Wed 10 of Feb, 2010 18:19 UTC sylvie 24
Fri 07 of Aug, 2009 02:32 UTC Marc Laporte typo 23
Thu 06 of Aug, 2009 13:31 UTC System Administrator 22
Thu 06 of Aug, 2009 10:40 UTC System Administrator 21
Tue 21 of Apr, 2009 15:45 UTC Marc Laporte 20
Fri 13 of Mar, 2009 06:30 UTC Marc Laporte 19
Sun 19 of Oct, 2008 16:11 UTC Marc Laporte obvious typo but I am not sure the profile works 17
Thu 28 of Aug, 2008 17:21 UTC idealpragmatist 16
Thu 28 of Aug, 2008 17:16 UTC idealpragmatist 15
Thu 28 of Aug, 2008 16:42 UTC idealpragmatist 12
Sat 23 of Aug, 2008 15:44 UTC Marc Laporte 11
Fri 22 of Aug, 2008 03:07 UTC idealpragmatist 10
Fri 22 of Aug, 2008 02:04 UTC idealpragmatist 9
Fri 22 of Aug, 2008 02:02 UTC idealpragmatist 8
Fri 22 of Aug, 2008 02:00 UTC idealpragmatist 7
Thu 07 of Aug, 2008 13:22 UTC System Administrator 6
Mon 04 of Aug, 2008 14:49 UTC System Administrator 5
Sun 03 of Aug, 2008 11:53 UTC Marc Laporte tiki_p is not needed 4
Thu 26 of Jun, 2008 19:49 UTC System Administrator 3
  • «
  • 1 (current)
  • 2
Collapse/expand modules below