aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/roles_constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llcommon/roles_constants.h')
-rw-r--r--linden/indra/llcommon/roles_constants.h26
1 files changed, 9 insertions, 17 deletions
diff --git a/linden/indra/llcommon/roles_constants.h b/linden/indra/llcommon/roles_constants.h
index 1d048dd..956a9de 100644
--- a/linden/indra/llcommon/roles_constants.h
+++ b/linden/indra/llcommon/roles_constants.h
@@ -12,12 +12,12 @@
12 * ("GPL"), unless you have obtained a separate licensing agreement 12 * ("GPL"), unless you have obtained a separate licensing agreement
13 * ("Other License"), formally executed by you and Linden Lab. Terms of 13 * ("Other License"), formally executed by you and Linden Lab. Terms of
14 * the GPL can be found in doc/GPL-license.txt in this distribution, or 14 * the GPL can be found in doc/GPL-license.txt in this distribution, or
15 * online at http://secondlife.com/developers/opensource/gplv2 15 * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
16 * 16 *
17 * There are special exceptions to the terms and conditions of the GPL as 17 * There are special exceptions to the terms and conditions of the GPL as
18 * it is applied to this Source Code. View the full text of the exception 18 * it is applied to this Source Code. View the full text of the exception
19 * in the file doc/FLOSS-exception.txt in this software distribution, or 19 * in the file doc/FLOSS-exception.txt in this software distribution, or
20 * online at http://secondlife.com/developers/opensource/flossexception 20 * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception
21 * 21 *
22 * By copying, modifying or distributing this software, you acknowledge 22 * By copying, modifying or distributing this software, you acknowledge
23 * that you have read and understood your obligations described above, 23 * that you have read and understood your obligations described above,
@@ -56,12 +56,12 @@ enum LLRoleChangeType
56// Powers 56// Powers
57// 57//
58 58
59// KNOWN HOLES: 59// KNOWN HOLES: use these for any single bit powers you need
60// bit 0x1 << 37 (GP_OBJECT_RETURN) 60// bit 0x1 << 41
61// bit 0x1 << 46
62// bit 0x1 << 49 and above
61 63
62// These powers were removed to make group roles simpler 64// These powers were removed to make group roles simpler
63// bit 0x1 << 27 (GP_LAND_ALLOW_SCRIPTS)
64// bit 0x1 << 16 (GP_LAND_VIEW_OWNED)
65// bit 0x1 << 41 (GP_ACCOUNTING_VIEW) 65// bit 0x1 << 41 (GP_ACCOUNTING_VIEW)
66// bit 0x1 << 46 (GP_PROPOSAL_VIEW) 66// bit 0x1 << 46 (GP_PROPOSAL_VIEW)
67 67
@@ -116,18 +116,19 @@ const U64 GP_LAND_MANAGE_PASSES = 0x1LL << 31; // Change Sell Pass Settings
116const U64 GP_LAND_ADMIN = 0x1LL << 32; // Eject and Freeze Users on the land 116const U64 GP_LAND_ADMIN = 0x1LL << 32; // Eject and Freeze Users on the land
117 117
118// Parcel Content 118// Parcel Content
119const U64 GP_LAND_RETURN_GROUP_OWNED= 0x1LL << 48; // Return objects on parcel that are owned by the group
120const U64 GP_LAND_RETURN_GROUP_SET = 0x1LL << 33; // Return objects on parcel that are set to group 119const U64 GP_LAND_RETURN_GROUP_SET = 0x1LL << 33; // Return objects on parcel that are set to group
121const U64 GP_LAND_RETURN_NON_GROUP = 0x1LL << 34; // Return objects on parcel that are not set to group 120const U64 GP_LAND_RETURN_NON_GROUP = 0x1LL << 34; // Return objects on parcel that are not set to group
121const U64 GP_LAND_RETURN_GROUP_OWNED= 0x1LL << 48; // Return objects on parcel that are owned by the group
122
122// Select a power-bit based on an object's relationship to a parcel. 123// Select a power-bit based on an object's relationship to a parcel.
123const U64 GP_LAND_RETURN = GP_LAND_RETURN_GROUP_OWNED 124const U64 GP_LAND_RETURN = GP_LAND_RETURN_GROUP_OWNED
124 | GP_LAND_RETURN_GROUP_SET 125 | GP_LAND_RETURN_GROUP_SET
125 | GP_LAND_RETURN_NON_GROUP; 126 | GP_LAND_RETURN_NON_GROUP;
127
126const U64 GP_LAND_GARDENING = 0x1LL << 35; // Parcel Gardening - plant and move linden trees 128const U64 GP_LAND_GARDENING = 0x1LL << 35; // Parcel Gardening - plant and move linden trees
127 129
128// Object Management 130// Object Management
129const U64 GP_OBJECT_DEED = 0x1LL << 36; // Deed Object 131const U64 GP_OBJECT_DEED = 0x1LL << 36; // Deed Object
130// HOLE -- 0x1LL << 37
131const U64 GP_OBJECT_MANIPULATE = 0x1LL << 38; // Manipulate Group Owned Objects (Move, Copy, Mod) 132const U64 GP_OBJECT_MANIPULATE = 0x1LL << 38; // Manipulate Group Owned Objects (Move, Copy, Mod)
132const U64 GP_OBJECT_SET_SALE = 0x1LL << 39; // Set Group Owned Object for Sale 133const U64 GP_OBJECT_SET_SALE = 0x1LL << 39; // Set Group Owned Object for Sale
133 134
@@ -142,17 +143,11 @@ const U64 GP_NOTICES_RECEIVE = 0x1LL << 43; // Receive Notices and View Notice
142const U64 GP_PROPOSAL_START = 0x1LL << 44; // Start Proposal 143const U64 GP_PROPOSAL_START = 0x1LL << 44; // Start Proposal
143const U64 GP_PROPOSAL_VOTE = 0x1LL << 45; // Vote on Proposal 144const U64 GP_PROPOSAL_VOTE = 0x1LL << 45; // Vote on Proposal
144 145
145const U64 GP_SESSION_JOIN = 0x1LL << 46; //can join session
146const U64 GP_SESSION_VOICE = 0x1LL << 47; //can hear/talk
147const U64 GP_SESSION_MODERATOR = 0x1LL << 49; //can mute people's session
148
149const U64 GP_DEFAULT_MEMBER = GP_ACCOUNTING_ACCOUNTABLE 146const U64 GP_DEFAULT_MEMBER = GP_ACCOUNTING_ACCOUNTABLE
150 | GP_LAND_ALLOW_SET_HOME 147 | GP_LAND_ALLOW_SET_HOME
151 | GP_NOTICES_RECEIVE 148 | GP_NOTICES_RECEIVE
152 | GP_PROPOSAL_START 149 | GP_PROPOSAL_START
153 | GP_PROPOSAL_VOTE 150 | GP_PROPOSAL_VOTE
154 | GP_SESSION_JOIN
155 | GP_SESSION_VOICE
156 ; 151 ;
157 152
158const U64 GP_DEFAULT_OFFICER = GP_ACCOUNTING_ACCOUNTABLE 153const U64 GP_DEFAULT_OFFICER = GP_ACCOUNTING_ACCOUNTABLE
@@ -193,8 +188,5 @@ const U64 GP_DEFAULT_OFFICER = GP_ACCOUNTING_ACCOUNTABLE
193 | GP_PROPOSAL_VOTE 188 | GP_PROPOSAL_VOTE
194 | GP_ROLE_ASSIGN_MEMBER_LIMITED 189 | GP_ROLE_ASSIGN_MEMBER_LIMITED
195 | GP_ROLE_PROPERTIES 190 | GP_ROLE_PROPERTIES
196 | GP_SESSION_MODERATOR
197 | GP_SESSION_JOIN
198 | GP_SESSION_VOICE
199 ; 191 ;
200#endif 192#endif