Table of Contents Previous Next

Sugar Developer Guide

Version 5.1


Chapter 2 Application Framework : ACL

ACL
ACLs, or Access Control Lists, are used to restrict access to Sugar modules, and the data and actions available (e.g., “Delete” and “Save”) to users within Sugar modules. ACLs are defined in the Roles area of Sugar Admin. Sugar Professional and Enterprise Editions restrict user access down to specific fields.
You can check whether the current user has access to a particular action using the following code:
if (ACLController::checkAccess($category, $action, $is_owner, $type)) {
// your code here
}
 
Where the parameters mean the following:
See the ‘Roles’ feature in the Sugar Installation and Administration Guide for the list of actions and their possible values.

Table of Contents Previous Next

Copyright 2004-2008 SugarCRM Inc.
Product License