aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/PermissionManager.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Refactor: Break out permissions code into a separate region PermissionsModuleJustin Clarke Casey2008-05-051-694/+0
|
* * Rolled back a few changes.Adam Frisby2008-05-011-178/+183
|
* * Spring cleaning on Region.Environment. Adam Frisby2008-05-011-183/+178
| | | | | | | * Converted a large number of read-only fields to be actually, readonly. * Reformatted code sections. * Removed redundant code.
* * Patch by Melanie. Implements proper objectflags on child objects. Thanks ↵Teravus Ovares2008-04-301-17/+10
| | | | | | | Melanie! RE: 0001079: r4387. touch() event does not fire when touch script is in root prim and child prims are touched
* * Fixes prim crossing. See bug 1050.Teravus Ovares2008-04-251-0/+13
| | | | | * Causes the internal handling of attachments to put the prim group conceptually at the position of the avatar instead of 0,0,0
* * Patch for #973 - Object Rez from Inventory ignores permissions - Thanks ↵Adam Frisby2008-04-231-0/+38
| | | | tglion!
* * Optimised using statements and namespace references across entire project ↵Adam Frisby2008-04-211-1/+2
| | | | (this took a while to run).
* *Moved LandManagement into its own region module (spiffy!)mingchen2008-03-221-11/+10
|
* * Fix for #499: linked primsets don't rotate properly when using a door ↵Teravus Ovares2008-03-211-1/+1
| | | | | | | | script that works OK on SL * Fix for #693: llSetRot malfunction in linked prims causing instance of invisible prim
* * Fix for if 782: Locked prims may still be moved by click+drag.Teravus Ovares2008-03-191-0/+34
| | | | | * Remember, your admin user and estate managers can move locked objects that are not owned by them. That functionality differs from the Linden way of thinking and it's by design! It is not a bug! Create a non-god user and use that as your normal account.
* Fixed some comparisons of LLUUIDs to null.Jeff Ames2008-03-191-7/+3
| | | | | Thanks to DrSchofld for pointing this out.
* Formatting cleanup.Jeff Ames2008-03-181-10/+10
|
* Formatting cleanup.Jeff Ames2008-03-181-26/+25
|
* Fix a few mono compiler warnings. Minor cleanup.Jeff Ames2008-03-171-2/+2
|
* * Removed more compiler warnings, dead code, etc.Adam Frisby2008-03-051-3/+4
|
* Minor cleanup.Jeff Ames2008-02-201-1/+1
|
* Thank you very much, Hashbox for:Charles Krinke2008-02-181-1/+6
| | | | | | | | | | Changed the public IsAdministrator back to protected, now checks Config to see whether it is allowed to run or not. Defaults to false (not allowed). To use add the following to OpenSim.ini [LL-Functions] AllowosConsoleCommand=true
* Thank you Hashbox for adding the Charles Krinke2008-02-171-2/+2
| | | | | osConsoleCommand Feature to ll-functions.
* * some refactoring on permissionslbsa712008-02-111-53/+51
| | | | | * temporary re-introduced the weird 'flip-back' behaviour, but debugging it; will remove it if I don't find anything.
* * This updates adds locking capability. Thanks, lbsa71 for pointing out my ↵Teravus Ovares2008-02-101-52/+41
| | | | bitmasking error of the objectflags! It's still a little bit wonky when you check the checkbox, however it 'takes' and doesn't break anything.
* * Adding more broken objectflags to the list here. Touch was also broken. ↵Teravus Ovares2008-02-101-0/+13
| | | | It might be smarter to just rebuild the whole objectflags before sending it to the client >.<
* * A lot of ugly permissions updates.Teravus Ovares2008-02-101-46/+118
| | | | | | | | | | ** Created SendFullUpdateToAllClientsExcept(LLUUID) so that permission updates /appear/ to apply immediately ** Separated out the ObjectFlags and the Permission Flags. They're related but not the same ** Added a hack routine to add *back* the objectflags to the client flags because the client hates the way we're doing object permissions ** Updated the clientflags routine to properly tell the client when they can't edit admin objects (objects owned by the sim administrator) even when they're an estate manager(why? >.< argh!) ** Fixed a null sim administrator/estate manager/user from causing permissions to return false even when it should return true. ** Re-added ObjectModify hack to allow collaboration with the allow anyone to move checkbox until we get group permissions done.
* * added count of texture data bytes and asset byteslbsa712008-02-091-0/+6
|
* First part of avatar persistence, currently only really works in standalone ↵MW2008-02-041-23/+26
| | | | | | | | | mode (with accounts_authenticate set to true), it also only currently has a mysql database connector. (sqlite one will follow soon). It also uses the tribalmedia database system, so this needs checking to see if the old problems with mono have been fixed. To use, see the appearance section in opensim.ini.example, set "persist = true", then add the correct connection string for your database.(see mysql-AvatarAppearance.sql in share folder for a example of the table mysql table structure). This could possible be used in a very small grid, but would mean each region server would need to connect to the same mysql database. But the work to move the code to one of the grid servers shouldn't be too much.
* * Fixed bug where 'taskOwnerId' would always be null in PermissionManager, ↵lbsa712008-01-181-12/+20
| | | | hence always retuning false on GenericObjectPermission.
* First part of changing prim's permission flags to use the correct enum ↵MW2008-01-161-18/+42
| | | | (libsl PermissionMask)
* * Did a bit of estate work. Added some fields to EstateSettings.xml for ↵Teravus Ovares2008-01-021-4/+11
| | | | | | | | estate managers. * You can put UUIDs in those fields to give other users some ability to help manage a sim you own. * Also started decoding the EstateOwnerMessage packet convolutions.
* * Optimized usingslbsa712007-12-271-15/+16
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* *Removed some exceptions that were thrown in Land that is no longer needed.mingchen2007-12-211-6/+11
|
* * Added hacked support for 'anyone can move' and 'anyone can copy'.Teravus Ovares2007-12-071-113/+76
| | | | | | | * BACKUP YOUR PRIM BEFORE UPDATING TO THIS and then double check the prim permissions after applying it with a different avatar (then the master avatar or the prim owner avatar). * Also, beware that any objects created under the old permission scheme may react oddly. They may automatically allow anyone to modify them, (which you'll then have to un-set). * It's hacked support because when 'anyone can move is set', any avatar can modify the prim (texture, shape, scale, etc)
* * Refactored Permissions into ScenePresence as requested by MWTeravus Ovares2007-12-051-2/+50
| | | | | | | * Un-hackerized generating the client_flags * Now handling the ObjectPermissions Update packet * Warning: Backup your prim before updating. If you fail to do so and something goes wrong then, All Yr prim are belong to us!
* * Extended our semi-stupid implementation of in world object permissions to ↵Teravus Ovares2007-11-301-0/+108
| | | | | | | show a user's client that it can't edit a prim if it doesn't have permission. * Permissions is due for a big revamp. The current way it's done is a hack at best.
* * Thanks to _SomeOne_, Server side permissions on object editing. Be aware, ↵Teravus Ovares2007-11-291-1/+7
| | | | that if you're editing an object on your client that you're not allowed to, it'll appear that it's moving to you, but won't actually be moving on the sim.
* * Added the ability to restart your individual sims from within them using ↵Teravus Ovares2007-11-251-0/+8
| | | | | | | the estate tools. * The sims properly restart, however they don't yet notify the existing avatars that they are up. To see the sim again, you'll need to log-out and back in until I can figure out how to get the proper data to the sims and to the avatar so they reconnect again.
* Attempt to get World Map working in Grid mode, will need to be using the ↵MW2007-11-181-0/+14
| | | | | | | | | | grid asset server for it to work correctly and has only been quickly tested in a three region grid. Moved PermissionManager creation out of the Scene constructor and instead a PermissionManager is passed to the constructor as a param. So that we could create and use custom permissionsManagers. Added AllowMovement property to ScenePresence which can be used to stop movement of avatars (for example in a custom region that wanted avatars always in one place). Added PermissionManager call when copying objects, although currently the call will always return true so that it allows copying in places like Wright Plaza. A few other changes/fixes.
* * Copied objects are now owned by the object copier (Next Owner) (however ↵Teravus Ovares2007-11-141-1/+4
| | | | | | | next owner permissions are not applied yet) * In Serverside permissions mode; If you've copied an object, then you can delete it and clean up after yourself. The rest of the permissions functionality is still unchanged. Admin can delete any object.. etc.
* * Optimized usingslbsa712007-10-301-2/+1
| | | | | | * Shortened type references * Removed redundant 'this' qualifier
* as per the "Filesystem cleanup for OpenSim repository" mailing list thread. ↵MW2007-10-291-1/+1
| | | | | | | Have flattened the OpenSim.Framework project/namespace. The problem is that the namespace is still wrong as its "OpenSim.Framework" while the directory is "OpenSim\Framework\General" , so we need to decide if we change the directory or correct the namespace. Note this has lead to a big flat project, but I think a lot of the files we most likely don't even use any longer. And others belong in other projects/namespaces anyway.
* * Fix for issue#514 - Sim crash when editing near terrain edge.Adam Frisby2007-10-231-1/+13
|
* nice catch by chi11ken that I was setting the wrong propertySean Dague2007-10-221-327/+327
|
* * Disabled TCP Remoting Channel Security for InterRegion communication, as ↵Adam Frisby2007-10-211-326/+327
| | | | | | | it appears we are not implementing this correctly. (need to set up certificates first) * Documented ACL class
* fix line ending mixing. Probably should put someSean Dague2007-10-211-1/+1
| | | | | | | wiki descriptions up on line endings so we don't keep ending up in this place.
* * Committing new PolicyManager based on an ACL system.Adam Frisby2007-10-201-1/+1
| | | | | * Unlinked right now, but intent to replace large amounts of the core logic in PermissionManager with it.
* * Applied patch #418 : copyright-r2012.patch - some errors, but got most thrulbsa712007-10-151-1/+29
|
* getting all our line endings consistant againSean Dague2007-10-051-8/+8
|
* * Modernized ScriptManager to new interface-based module calls.lbsa712007-09-191-22/+16
| | | | | * 'remove redundant this qualifier' ftw
* fixing me some line endingsSean Dague2007-09-171-305/+305
|
* * CHANGED SOME CONSOLE COMMAND BEHAVIOURSlbsa712007-09-171-14/+22
| | | | | | | | | | | | | | | | * Normalized 'change-region' so (almost) all commands are context sensitive (use 'root' or '..' to set 'all scenes' context) * 'terrain-sim' is thusly obsolete, use 'change-region', followed by 'terrain' * Introduced SceneManager to administrate operations on group of scenes and moved relevant funcs there. * In it, there's a ForEach(Action<Scene>) that either passes all scenes, or only current scene depending on context. * Changed default prim backup (save-xml/load-xml) xml to "prim-backup.xml" * Changed Disable/EnablePermissions to BypassPermissions = true/false; Also: * Removed unused and non-existent project ref
* Another attempt to fix the image sending bug (next week, I intend to rewrite ↵MW2007-08-261-1/+1
| | | | | | | | the assetcache and asset server). Attempt to fix bug # 326. (crashing when using save-xml and hollow prims) Attempt to fix bug # 328 (limit of 50 items in a folder)
* * Introduced IScriptHost as an interface to fetching object data from scripts.lbsa712007-08-161-1/+1
| | | | | | * This meant introducing AbsolutePosition on all objects (since SimChat wants that)