My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Permission  
Updated Feb 4, 2010 by orse...@gmail.com

Introduction

Permission is a extension of canonical ACL. On default all people can READ but you must specify other permissions or to deny access;

Utile se si vuole dare accesso ad una risorsa in sola lettura e scrittura , ma non nell'aggiunta di parametri; oppure per negare la scrittura ad un singolo utente una data risorsa ma non la sua visualizzazione.

The list of permissions

  • READ
  • WRITE
  • EXECUTE
  • NOTREAD (the user can't read the output)

Usage

$permission = new Sigma_Acl_Permission();
$permission->hasPermission($user_id,$module_name,$controller_name,$power_to_test);

or better

$acl = new Sigma_Acl($user_id,$role_name,$module_name);
$acl->hasPermission($controller_name,$power_to_test);

NB: per ora è stato disabilitato per semplicità nello sviluppo delle varie componenti riga 210 file Sigma_Plugin_Auth.php

Comment by marksher...@gmail.com, Sep 29, 2011

how can i use this on my website the ability to add text updates to my website

Comment by marksher...@gmail.com, Sep 29, 2011

test

Comment by marksher...@gmail.com, Sep 29, 2011

test

Comment by marksher...@gmail.com, Sep 29, 2011

test


Sign in to add a comment
Powered by Google Project Hosting