aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/PermissionManager.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-03-17Fix a few mono compiler warnings. Minor cleanup.Jeff Ames1-2/+2
2008-03-05* Removed more compiler warnings, dead code, etc.Adam Frisby1-3/+4
2008-02-20Minor cleanup.Jeff Ames1-1/+1
2008-02-18Thank you very much, Hashbox for:Charles Krinke1-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
2008-02-17Thank you Hashbox for adding the Charles Krinke1-2/+2
osConsoleCommand Feature to ll-functions.
2008-02-11* some refactoring on permissionslbsa711-53/+51
* temporary re-introduced the weird 'flip-back' behaviour, but debugging it; will remove it if I don't find anything.
2008-02-10* This updates adds locking capability. Thanks, lbsa71 for pointing out my ↵Teravus Ovares1-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.
2008-02-10* Adding more broken objectflags to the list here. Touch was also broken. ↵Teravus Ovares1-0/+13
It might be smarter to just rebuild the whole objectflags before sending it to the client >.<
2008-02-10* A lot of ugly permissions updates.Teravus Ovares1-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.
2008-02-09* added count of texture data bytes and asset byteslbsa711-0/+6
2008-02-04First part of avatar persistence, currently only really works in standalone ↵MW1-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.
2008-01-18* Fixed bug where 'taskOwnerId' would always be null in PermissionManager, ↵lbsa711-12/+20
hence always retuning false on GenericObjectPermission.
2008-01-16First part of changing prim's permission flags to use the correct enum ↵MW1-18/+42
(libsl PermissionMask)
2008-01-02* Did a bit of estate work. Added some fields to EstateSettings.xml for ↵Teravus Ovares1-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.
2007-12-27* Optimized usingslbsa711-15/+16
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-21*Removed some exceptions that were thrown in Land that is no longer needed.mingchen1-6/+11
2007-12-07* Added hacked support for 'anyone can move' and 'anyone can copy'.Teravus Ovares1-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)
2007-12-05* Refactored Permissions into ScenePresence as requested by MWTeravus Ovares1-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!
2007-11-30* Extended our semi-stupid implementation of in world object permissions to ↵Teravus Ovares1-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.
2007-11-29* Thanks to _SomeOne_, Server side permissions on object editing. Be aware, ↵Teravus Ovares1-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.
2007-11-25* Added the ability to restart your individual sims from within them using ↵Teravus Ovares1-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.
2007-11-18Attempt to get World Map working in Grid mode, will need to be using the ↵MW1-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.
2007-11-14* Copied objects are now owned by the object copier (Next Owner) (however ↵Teravus Ovares1-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.
2007-10-30* Optimized usingslbsa711-2/+1
* Shortened type references * Removed redundant 'this' qualifier
2007-10-29as per the "Filesystem cleanup for OpenSim repository" mailing list thread. ↵MW1-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.
2007-10-23* Fix for issue#514 - Sim crash when editing near terrain edge.Adam Frisby1-1/+13
2007-10-22nice catch by chi11ken that I was setting the wrong propertySean Dague1-327/+327
2007-10-21* Disabled TCP Remoting Channel Security for InterRegion communication, as ↵Adam Frisby1-326/+327
it appears we are not implementing this correctly. (need to set up certificates first) * Documented ACL class
2007-10-21fix line ending mixing. Probably should put someSean Dague1-1/+1
wiki descriptions up on line endings so we don't keep ending up in this place.
2007-10-20* Committing new PolicyManager based on an ACL system.Adam Frisby1-1/+1
* Unlinked right now, but intent to replace large amounts of the core logic in PermissionManager with it.
2007-10-15* Applied patch #418 : copyright-r2012.patch - some errors, but got most thrulbsa711-1/+29
2007-10-05getting all our line endings consistant againSean Dague1-8/+8
2007-09-19* Modernized ScriptManager to new interface-based module calls.lbsa711-22/+16
* 'remove redundant this qualifier' ftw
2007-09-17fixing me some line endingsSean Dague1-305/+305
2007-09-17* CHANGED SOME CONSOLE COMMAND BEHAVIOURSlbsa711-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
2007-08-26Another attempt to fix the image sending bug (next week, I intend to rewrite ↵MW1-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)
2007-08-16* Introduced IScriptHost as an interface to fetching object data from scripts.lbsa711-1/+1
* This meant introducing AbsolutePosition on all objects (since SimChat wants that)
2007-08-15The 'Party Party Groupie Groupie Life is a game' commit:lbsa711-4/+11
* Added prototypical MoneyBalance support * Finalized konceptual touch wiring * Turned SimpleApp into a tedious harvesting game.
2007-08-15* Permissions! - You can now only perform certain functions (such as editing ↵Adam Frisby1-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.
2007-08-09Start of replacing the old SceneObject/Primitive classes with the new versions.MW1-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.
2007-08-06* renamed some scene to worldlbsa711-2/+2
* passing on NotImplemented from Update()
2007-08-04clean up of startup config settings (command line args etc),MW1-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.
2007-08-04* More work on PermissionManager - going AFK for a bit.Adam Frisby1-38/+79
2007-08-04* More work on PermissionManagerAdam Frisby1-0/+40
2007-08-02Changed a couple of method in PermissionManager from private to protected to ↵MW1-3/+3
fix the error that ckrinke just reported
2007-08-02* Added support for CreateLink to LSL Interpreted APIAdam Frisby1-0/+108
* Added new "PermissionManager" which handles access to protected resources for users. (ie editing other peoples objects, etc)