aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/PermissionManager.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * 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)
* The 'Party Party Groupie Groupie Life is a game' commit:lbsa712007-08-151-4/+11
| | | | | | | * Added prototypical MoneyBalance support * Finalized konceptual touch wiring * Turned SimpleApp into a tedious harvesting game.
* * Permissions! - You can now only perform certain functions (such as editing ↵Adam Frisby2007-08-151-9/+110
| | | | | | | | | | | | | other peoples objects) if you have permission to do so. * Moved OnPermissionError to EventManager - now triggers a standard blue alert. * Terraforming now requires permission via the permissions manager. [Defaults to admin-only] * Permissions manager is now substantiated in Scene * Buttload of new permissions added. * Estate manager operations now require various levels of permission to operate * OGS1 now produces 'summary reports' for a commsManager of each scene it maintains connections for. Reduces grid network traffic for ping checks. * Added new "permissions true" / "permissions false" console command to enable or disable permissions.
* Start of replacing the old SceneObject/Primitive classes with the new versions.MW2007-08-091-3/+3
| | | | | | PLEASE NOTE: that with this revision some prim related features may be broke for a while. (things like linking prims and the parcel prim count.) Also this revision may not work on mono, but that will be fixed soon.
* * renamed some scene to worldlbsa712007-08-061-2/+2
| | | | | * passing on NotImplemented from Update()
* clean up of startup config settings (command line args etc),MW2007-08-041-1/+1
| | | | | | | Now using the Nini configuration library (suggest we look into using this for the rest of our config handling, as it provides a standard interface for command line args, INI files, Xml files, .NET config files, and windows registry). One IMPORTANT change is that to TO START GRIDMODE , you need to now use -gridmode=true . Also need someone to test it under mono. (there is a dll that has been compiled under mono available, just hoping that we don't have to deal with separate dlls for windows and linux.
* * More work on PermissionManager - going AFK for a bit.Adam Frisby2007-08-041-38/+79
|
* * More work on PermissionManagerAdam Frisby2007-08-041-0/+40
|
* Changed a couple of method in PermissionManager from private to protected to ↵MW2007-08-021-3/+3
| | | | fix the error that ckrinke just reported
* * Added support for CreateLink to LSL Interpreted APIAdam Frisby2007-08-021-0/+108
* Added new "PermissionManager" which handles access to protected resources for users. (ie editing other peoples objects, etc)