# Copyright (c) 2001-2009 bivio Software, Inc. All Rights Reserved. # # Visit http://www.bivio.biz for more info. # # This library is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as # published by the Free Software Foundation; either version 2.1 of the # License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; If not, you may get a copy from: # http://www.opensource.org/licenses/lgpl-license.html # # $Id: SimplePermission.pm,v 2.18 2011/02/09 20:58:45 nagler Exp $ package Bivio::Delegate::SimplePermission; use strict; use base 'Bivio::Delegate'; our($VERSION) = sprintf('%d.%02d', q$Revision: 2.18 $ =~ /\d+/g); sub get_delegate_info { return [ ANYBODY => [1], ANY_USER => [2], DATA_READ => [3], DATA_WRITE => [4], ADMIN_READ => [5], ADMIN_WRITE => [6], SUBSTITUTE_USER_TRANSIENT => [7], SUPER_USER_TRANSIENT => [8], TEST_TRANSIENT => [9], MAIL_READ => [10], MAIL_ADMIN => [11], MAIL_SEND => [12], MAIL_POST => [13], TUPLE_READ => [14], TUPLE_WRITE => [15], TUPLE_ADMIN => [16], MOTION_READ => [17], MOTION_WRITE => [18], MOTION_ADMIN => [19], FEATURE_SITE_ADMIN => [20], FEATURE_FILE => [21], FEATURE_BLOG => [22], FEATURE_WIKI => [23], FEATURE_DAV => [24], FEATURE_MAIL => [25], FEATURE_CALENDAR => [26], FEATURE_CRM => [27], FEATURE_MOTION => [28], FEATURE_TUPLE => [29], DATA_BROWSE => [30], FEATURE_TASK_LOG => [31], FEATURE_BULLETIN => [32], FEATURE_GROUP_ADMIN => [33], LAST_RESERVED_VALUE => [50], ]; } 1;