Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Utorok, 28. jún 2016
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Dokumentácia  »  HTML  »  Permission options

3.4. Permission options

Commonly used options include:

  A -- add
  C -- change
  P -- copy
  V -- view
  D -- delete
  F -- filter (search)
  I -- initial sort suppressed

Table listing is always enabled, since all actions are executed from this screen. But it is possible to get specific behaviours without table listing using appropriate phpMyEdit extension. See Extensions chapter for more information.

Full privileges to manipulate records are configured as:

Example 3-11. Full permissions

$opts['options'] = 'ACPVDF';

To deny the user the ability to delete records use:

Example 3-12. Full permissions without delete

$opts['options'] = 'ACPVF';

To limit the user to view, sort, list, or filter records use this:

Example 3-13. Read only permissions

$opts['options'] = 'VFL'; 

In a multi-user environment, it would be wise to only provide the system administrator with the ability to delete records.


Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov