Commit Graph

48 Commits

Author SHA1 Message Date
Dr Scofield
3f9cc28103 fix: warnings from libomv 2008-09-08 10:28:59 +00:00
Teravus Ovares
7d89e12293 * This is the fabled LibOMV update with all of the libOMV types from JHurliman
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point.  Regular people should let the dust settle.
* This has been tested to work with most basic functions. However..   make sure you back up 'everything' before using this.  It's that big!  
* Essentially we're back at square 1 in the testing phase..  so lets identify things that broke.
2008-09-06 07:52:41 +00:00
Dr Scofield
3d101de375 clean up and fixing a typo. 2008-09-03 11:58:36 +00:00
Melanie Thielker
ddd68a0537 Mantis #2072
Griefer protection! When running without serverside permissions, let only
the owner edit attachments. Having everyone able to do it just isn't right.
2008-09-01 12:56:53 +00:00
Melanie Thielker
40fa68d3e5 Mantis #1999
Allow the sim owner to add estate managers to any estate on the sim
2008-08-19 20:55:34 +00:00
Jeff Ames
6ef9d4da90 Formatting cleanup. 2008-08-18 00:39:10 +00:00
Melanie Thielker
1db8f6fbad Patch for Adam: Add two new permissions options to Opensim.ini.example
and the permissions module
2008-08-17 05:05:06 +00:00
Jeff Ames
6fa26f5b41 Update svn properties, minor formatting cleanup. 2008-08-16 17:26:25 +00:00
Melanie Thielker
682ffef101 Reshuffle to eliminate prim owner lookups unless gridgods are enabled 2008-08-16 05:41:40 +00:00
Melanie Thielker
9807a86398 Guard against a null ref in the permissions module when a profile
fetch fails.
2008-08-16 02:57:47 +00:00
Melanie Thielker
437b4a8aaa Perils of copypaste. Missing references. 2008-08-15 23:35:01 +00:00
Melanie Thielker
32f90a028f Fix repeated user profile info lookups. Redirect those lookups to cache. 2008-08-15 23:29:34 +00:00
Melanie Thielker
dfc553d0a4 Fix up master avatar handling for estate owners. Introduces a new
hierarchical rights structure. MasterAvatar: Owner of the region server
(may be null), net gods (users with GodLevel 200), Estate owner
(from database). Look at Opensim.ini.example to enable net gods.
Estate owner will default to master avatar.
2008-08-15 13:13:39 +00:00
Jeff Ames
dde21314e7 Update svn properties, formatting cleanup, fix a couple compiler warnings. 2008-08-15 10:24:04 +00:00
Melanie Thielker
c2f1771c63 Make the estate owner work. Changes permissions checks to allow the
estate owner user the ability to add and remove estate managers,
and have EM rights outside of that.
2008-08-14 18:08:22 +00:00
Melanie Thielker
71cc458610 Make the estate owner UUID from the database have the same rights
as the region master avatar, unless it's LLUUID.Zero (the default).
2008-08-13 01:17:44 +00:00
mingchen
f2742fb604 *Added CommandIntentions that is used to describe a console commands hazard. HAZARDOUS if it modifies the simulator, NON_HAZARDOUS if it does a command that doesn't modify the simulator but does a background command such as a forced backup, and STATISTICAL if it returns debug or more information.
*This is useful for implementing a protection system from unwanted script execution or for application modules needing to know what a command does.
2008-07-25 02:30:07 +00:00
Sean Dague
090159defc refactored LandData to use properties, and cleaned up the naming on
the properties a bit to be more consistant with other objects (having things
like .Name .Description, etc).
2008-07-23 15:50:32 +00:00
Melanie Thielker
263633e274 Patch #9151
Makes the estate dialog fully functional. Implements all client facing functionality. Moves estate data from estate_settings.xml, which is used to provide defaults, to the region data store. Creates one estate for each region, and places the region in it. Converts all region bans to estate bans.
2008-07-18 02:40:47 +00:00
Melanie Thielker
f629fdb88d Patches #9143 and #9144 (Mantis #1723)
Changes the permissions module to make scripts permissive only when intended
Adds security checks to asset transfers to prevent hacked clients fron
requesting script sources.
Adds security checks to llClientView to verify all aspects of ownership
and permissions for inventory based script retrieval.
2008-07-12 06:24:43 +00:00
Justin Clarke Casey
297ca095df * Oops, turn off permissions debugging I stupidly hardcoded 2008-07-11 17:16:03 +00:00
Justin Clarke Casey
8535cb52e0 * Put an info entry in the log if permissions are being bypassed
* might help to diagnose mantis 1712
2008-07-11 16:03:12 +00:00
Charles Krinke
9a0ef22ed9 Mantis#1616. Applied Melanie's patch. This may or may
not break trunk.
2008-06-28 16:08:12 +00:00
Dr Scofield
3d26e6ede0 move along, nothing to see here. just a couple of lazy variables. 2008-06-27 19:57:06 +00:00
Charles Krinke
a58a47a759 Mantis#1597. Thank you, Melanie for a patch that:
Adds handlers for the reclaim land functionality, 
plus all needed permissions checks.
2008-06-26 13:45:36 +00:00
MW
7a9922af27 Added support for terrain map to be serialised to xml(as base64 binary). useful for places that the terrain map is needed in a serialised form. Also could add console commands to save and load from files, which should be faster than .raw files (these load/save commands are not included/implemented)
Add util functions to compress and uncompress strings. 
Fixed a couple of modules so they use SceneCommunicationService rather than directly call functions on the CommsManager.
2008-06-25 19:33:19 +00:00
Justin Clarke Casey
15d41c2fc2 * Fix build break by eliminating remaining IScenePermissions references - must remember to nant clean
* Hook all server startups into base opensim server startup method
2008-06-01 01:34:46 +00:00
Teravus Ovares
65db9eadef * Updates permission module so that GenericCommunicationPermission returns true. Instant messages, inventory transfers use this.. and it was always returning false. 2008-06-01 00:37:44 +00:00
Charles Krinke
066b350d20 Thank you kindly, Melanie, for:
Nothing huge, but the new button code for producing 
a new script does well, but the script will not allow 
for name change once created. It reverts back to new script.
2008-05-23 02:45:52 +00:00
Teravus Ovares
349a17f664 * Tweaked patch mantis 1302 and committing it. 2008-05-17 00:16:16 +00:00
Jeff Ames
65c5efe43b Formatting cleanup. 2008-05-16 01:22:11 +00:00
Teravus Ovares
d60e457463 Committing patch from Melanie. 0001290: [PATCH] implement permissions propagation and script module hooks. Thanks Melanie!
* Implements quite a few inventory related perms.
* (from Teravus) Fixes Take Copy
2008-05-15 19:28:10 +00:00
Teravus Ovares
bc177b1c37 * Committing Patch mantis 0001275: [PATCH] Add more perms-fu. From Melanie. Thanks Melanie!
* Adds hooks in the permission module for CanReadScript, CanEditScript, CanCopyInventory, CanDeleteInventory, CanEditNotecard, CanViewNotecard, CanViewScript..  and a few more.   The functionality in the default module returns true.
2008-05-15 03:14:48 +00:00
Teravus Ovares
a4efa93993 * Comitting 0001271: [PATCH] Refactor permissions to fully allow stacking permissions modules. From Melanie. Thanks Melanie! 2008-05-14 23:25:07 +00:00
Teravus Ovares
b7d0aa7cb5 * Fixed deleting prim. 2008-05-14 20:25:09 +00:00
Adam Frisby
c9c016e26a * Applying patches from Melanie to cover permissions module. Thanks! 2008-05-14 16:51:16 +00:00
Jeff Ames
c995d60d37 Formatting cleanup. 2008-05-14 05:11:23 +00:00
mingchen
ed4ea9b4b8 *Locked objects can now be unlocked 2008-05-13 21:43:52 +00:00
mingchen
fe6c626501 *Locked objects now delete after accepting warning as expected 2008-05-13 21:27:53 +00:00
mingchen
32785921d0 *Complete redo of the permissions module
*Removed hardcoded permissions checks
*Added permissions checks where needed
2008-05-13 16:22:57 +00:00
Adam Frisby
9f1c033757 * Minor tweak to TerrainChannel
* Minor tweak to Permissions/PermissionsModule.cs
2008-05-09 03:19:20 +00:00
mingchen
6c71a04da8 *Added all the permission checks to the sceneexternalchecks and modified permission module to follow this.
*This makes permission checking much more modular; allows restrictive and granting module to be made without modifying the existing permission module
2008-05-08 19:37:57 +00:00
mingchen
e364c64583 *Fixed bug causing Object Duplication to not correctly follow permissions 2008-05-07 21:52:11 +00:00
mingchen
d8e33ec914 *Added CanRunScript to SceneExternalChecks 2008-05-07 17:44:48 +00:00
mingchen
6551f17966 *Added SceneExternalChecks.cs that is used to manage checking the results of multiple functions that register with the class and return the result (usually true/false) based on those results. This is useful for module wanting to put their opinion in decisions such as 'can the user rez this object?' 2008-05-07 17:33:57 +00:00
Jeff Ames
0ea48cf786 De-tabify source. 2008-05-06 22:41:38 +00:00
Adam Frisby
31cd162d34 * Cleaning up code, making it conform to OpenSim standards. 2008-05-06 04:56:48 +00:00
Justin Clarke Casey
9655cf2807 * Refactor: Break out permissions code into a separate region PermissionsModule 2008-05-05 20:14:53 +00:00