User Tools

Site Tools


pracro:acl

This is an old revision of the document!


ACL

Template:

<?xml version='1.0' encoding='UTF-8'?>
<template name="ref_forunders" version="1.0" title="Refraktiv kirurgi forundersøgelse" aclcommit="nurse,br">
  <macro name="header" static="true"/>
  <macro name="henvisning" aclread="all" aclwrite="all"/>
 
  <header caption="Anamnese"/>
  <macro name="allergier" requires="henvisning" aclread="all" aclwrite="doctor"/>
  <macro name="medicin" requires="henvisning" compact="true" aclread="all" aclwrite="doctor,nurse,br"/>
  <macro name="alment" requires="henvisning" aclread="doctor" aclwrite="none"/>
</template>

aclXXXXX attributes contain lists of either userids and/or groupids. Currently: 'aclread', 'aclwrite' and 'aclcommit'. aclwrite and aclread can be connected with the template and is inherited to all the contained macros.

Users and Groups:

# some config file
user {
  name = 'Birger Rundstok'
  userid = 'br'
  groups = {'doctor'}
}

group {
  name = 'doctor'
  groups = {'afdj'}
}

group {
  name = 'afdj'
}
pracro/acl.1302503883.txt.gz · Last modified: 2011/04/11 08:38 by deva