#369 fields with individual rights

closed
nobody
None
5
2012-11-27
2012-11-18
Anonymous
No

Hello,

is it possible to have a module with fields, that have individual rights.
For example, there are some fields of contacts only people of a certain department are allowed to see or change.
I found the "right" attribute in "view" tag but thats still limited in usability.

Regards

Simple Groupware version: 0.745
Simple Groupware language: de
PHP Version: 5.3.10-1ubuntu3.1
Database + Version: mysql 552
Server OS: Linux ubuntu02 3.2.0-24-generic #37-Ubuntu SMP Wed Apr 25 08:43:22 UTC 2012 x86_64
Webserver: Apache/2.2.22 (Ubuntu)
Webbrowser: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4
APC cache usage: nicht installiert
Disk usage: 42 GB / 507 GB

Discussion

  • Thomas Bley
    Thomas Bley
    2012-11-18

    Hello,

    you can restrict editing with a validator, e.g. "<sgs-dir>/bin/modules/schema/expenses.xml"
    <validate function="require_group|admin_payroll|confirmed,booked" />

    you can exclude fields from views with <notin views="inactive|offer"/>. Permissions can be set on views, see:
    http://www.simple-groupware.de/cms/AdministrationUsers

    bye
    Thomas

     
  • Thomas Bley
    Thomas Bley
    2012-11-27

    • status: open --> closed