Changes between Version 57 and Version 58 of S3/S3AAA


Ignore:
Timestamp:
02/08/11 20:45:25 (14 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3AAA

    v57 v58  
    9595
    9696  ||'''Field name'''||'''Type'''||'''Description'''||
    97   ||administrated_by||integer (reference auth_user)||ID of the user who administrates this record[[BR]](defaults to the ID of the user who created the record)||
    98   ||owned_by||integer (reference auth_group)||ID of the group (role) who own the record||
     97  ||owned_by_user||integer (reference auth_user)||ID of the user who ownes this record[[BR]](defaults to the ID of the user who created the record)||
     98  ||owned_by_role||integer (reference auth_group)||ID of the group (role) who own the record||
    9999
    100100These meta fields are contained in both {{{s3_authorstamp()}}} as well as {{{s3_meta_fields()}}}.
    101101
    102 A user is considered ''owner'' of a record if he is either administrator of the record (user ID == {{{administrated_by}}}), or he is a member of the owner group ({{{owned_by}}} in user roles).
     102A user is considered ''owner'' of a record if he is either individual owner of the record (user ID == {{{administrated_by}}}), '''or''' he is a member of the owner role ({{{owned_by}}} in user roles).
    103103
    104104In tables which do not define either of these meta-fields, ownership rules are not applied ({{{uacl}}} only).
    105105
     106  ''NOTE: you can have both an individual record owner and an owner role for the same record at the same time, where the individual owner doesn't need to have the owner role.''
    106107==== Ownership vs. Access Permission ====
    107108