aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Permissions (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Dump OpenSim 0.9.0.1 into it's own branch.onefang2019-05-191-697/+1357
|
* Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel2016-11-031-67/+86
|
* One more module converted: PermissionsModule.Diva Canto2012-11-111-112/+155
|
* Lower warn logging on not having friends/group module on permissions to debug.Justin Clark-Casey (justincc)2012-06-201-2/+2
| | | | It's a valid configuration not to have these modules, but I think it's still worth logging the fact that certain permissions won't work (always return true)
* Put all debug console commands into a single Debug section rather than ↵Justin Clark-Casey (justincc)2012-06-151-1/+1
| | | | scattering them over other categories
* minor: Remove redundant EstateOwner != UUID.Zero check in IsAdministrator ↵Justin Clark-Casey (justincc)2012-05-171-8/+6
| | | | | | because checking EstateOwner == user Due to an earlier check we already know that user != UUID.Zero so if EstateOwner == UUID.Zero, EstateOwner == user can never be true
* If a Grid God teleports then include the Godlike teleport flag. This can ↵Oren Hurvitz2012-04-271-9/+22
| | | | affect the starting position in the destination region.
* refactor: Rename EstateSettings.IsEstateManager() to ↵Justin Clark-Casey (justincc)2012-04-171-1/+1
| | | | | | | EstateSettings.IsEstateManagerOrOwner() to reflect what it actually does. This makes it consistent with other parts of OpenSimulator that are treating ESTATE_MANAGER and ESTATE_OWNER as different entities. As per opensim-dev mailing list.
* Add simple login test with online friends. Add IFriendsModule.GrantRights() ↵Justin Clark-Casey (justincc)2012-03-301-6/+4
| | | | | | | for granting rights via a module call. Rename IFriendsModule.GetFriendPerms() -> GetRightsGrantedByFriend() to be more self-documenting and consistent with friends module terminology. Add some method doc.
* Rework Diva's patch to simplify itMelanie2012-03-221-2/+10
|
* Revert "Simple build permissions feature. NOTE: EXPERIMENTAL, DISABLED BY ↵Melanie2012-03-221-32/+2
| | | | | | DEFAULT. Turns out that this can't be expressed by cascading Permission modules, so I did it as per this patch." This reverts commit 6146e7ef258b10888ad7464b72b75cca701e02c9.
* Simple build permissions feature. NOTE: EXPERIMENTAL, DISABLED BY DEFAULT. ↵Diva Canto2012-03-221-2/+32
| | | | Turns out that this can't be expressed by cascading Permission modules, so I did it as per this patch.
* Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)2012-03-081-3/+3
| | | | | | | | | | | <category/module>" to display commands in a category. This is to deal with the hundred lines of command splurge when one previously typed "help" Modelled somewhat on the mysql console One can still type help <command> to get per command help at any point. Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet). Does not affect command parsing or any other aspects of the console apart from the help system. Backwards compatible with existing modules.
* Fix problem with dragging child part inventory item to user inventory.Justin Clark-Casey (justincc)2012-02-211-19/+3
| | | | | This fixes the problem by fixing the permissions module to look at root part permissions rather than having to do this for every caller. Resolves http://opensimulator.org/mantis/view.php?id=5569
* short circuit the expensive parts of the permission checking codeMic Bowman2012-02-131-1/+6
| | | | | if the current user is the owner of an object. none of the later checks can reverse the outcome.
* Fix bug where objects could not be set to a new group if the group had been ↵Justin Clark-Casey (justincc)2011-12-171-3/+9
| | | | | | | | | | created in that client session, or if no other action has been performed on the object. There were two problems here: 1) On object group update, we looked for the group is the IClientAPI group cache rather than in the groups service. This fails to groups created newly in that session 2) On object group update, we weren't setting the HasGroupChanged flag. This meant that the change was not persisted unless some other action set this flag. This commit fixes these issues and hopefully addresses http://opensimulator.org/mantis/view.php?id=5588 This commit also moves HandleObjectGroupUpdate() to the GroupsModule from the Scene.PacketHandlers.cs file
* Improve some of the debug help messagesJustin Clark-Casey (justincc)2011-11-291-3/+2
|
* For clients that are entering a simulator from initial login, stop executing ↵Justin Clark-Casey (justincc)2011-11-151-2/+1
| | | | | | | | FriendsModule.FetchFriendslist() asychronously. Executing this asynchronously allows a race condition where subsequent friends fetches hit a cache that FetchFriendsList() had not yet populated. Changing this to synchronous may improve issues where a user does not see friends as online even though they are. I don't believe synchronous is a problem here, but if it is, then a more complicated signalling mechanism is required. Locking the cache isn't sufficient.
* When creating an OAR, optionally exclude objects according to their permissionsOren Hurvitz2011-09-121-37/+52
|
* Remove pointless cluttering SOP.ParentGroup != null checks.Justin Clark-Casey (justincc)2011-09-011-1/+1
| | | | | The only times when ParentGroup might be null is during regression tests (which might not be a valid thing) and when scene objects are being constructed from the database. At all other times it's not possible for a SOP not to have a SOG parent.
* Fixed serverside_object_permission default value conflictionMakopoppo2011-07-231-1/+1
|
* Make default serverside_object_permissions = true since this better matches ↵Justin Clark-Casey (justincc)2011-07-011-1/+1
| | | | | | user expectations. It also matches the default setting in the OpenSim.ini.example file
* Fixed permissions bug related to friends in PermissionsModule. Added ↵Diva Canto2011-05-211-15/+26
| | | | FriendsData[] GetFriends(string principalID) to IFriendsData and FriendInfo[] GetFriends(string PrincipalID) to IFriendsService. Refactored some more in the FriendsModule. Made client get notification of local friends permissions upon HGLogin. HG Friends object permissions work.
* When setting media on a prim values, use generic object permissions instead ↵Justin Clark-Casey (justincc)2011-03-141-2/+2
| | | | | | | of media permissions. Media permissions are just meant to be checked when we want to know if a user should be shown the navigation bar or allowed to navigate. It should not be checked when we're setting the media up. This bug was preventing a user from ever setting any more values if they had unchecked the owner settings.
* Revamp the viewer -> banlist packet processing so fix a number of bugs.Melanie2010-12-131-53/+3
| | | | | | | Remove the too coarse CanEditParcel method in favor of a CanEditParcelProperties method that takes a GroupPowers argument to specify what action is to be taken. Also, make the method to set parcel data much more granular. Permissions in a deeded setting should now work.
* Fix a typoMelanie2010-09-211-3/+3
|
* Refactor script create permission into the perms moduleMelanie2010-09-211-5/+23
|
* Formatting cleanup.Jeff Ames2010-09-121-11/+11
|
* Merge branch 'moap'Justin Clark-Casey (justincc)2010-08-061-2/+87
|\
| * Fix problem where changes to media textures for prims duplicated by shify ↵Justin Clark-Casey (justincc)2010-07-281-6/+6
| | | | | | | | | | | | copy would change both prims until server restart I also found out that you can crash the current viewer by giving it more media entrys than it's expecting
| * provide config option for media on a primJustin Clark-Casey (justincc)2010-07-261-2/+2
| |
| * fix previous media interact serverside checking. perform very basic ↵Justin Clark-Casey (justincc)2010-07-261-5/+25
| | | | | | | | | | | | | | | | serverside url whitelist checks at the moment, only checking for the exact name prefix is implemented for some reason, whitelists are not persisting this commit also fixes a very recent problem where setting any media texture parameters after the initial configuration would not work
| * implement serverside checks for media texture navigation in order to stop ↵Justin Clark-Casey (justincc)2010-07-261-1/+20
| | | | | | | | naughty clients
| * factor out soon to be common media permissions check codeJustin Clark-Casey (justincc)2010-07-261-4/+9
| |
| * implement prim media control permissions serverside in order to stop bad clientsJustin Clark-Casey (justincc)2010-07-261-1/+42
| |
* | Allow gods and estate managers/owners to be unaffected by parcel bansMelanie Thielker2010-07-291-0/+1
|/
* Fix some symbol errorsMelanie2010-04-301-2/+2
|
* Fix link security issueMelanie2010-04-301-3/+3
|
* If a transfer request is received for a task inventory item asset, then ↵Justin Clark-Casey (justincc)2010-04-191-6/+11
| | | | | | | | | route the permissions request through the existing CanEditScript() and CanEditNotecard() methods. This implements the 'share with group' flag for notecards and scripts in prim inventory since the PermissionsModule checks group membership and permissions. Other than that, the code in PermissionsModule duplicates the checks in LLClientView so there should be no change other than allowing group members to edit embedded notecards and scripts. For all other asset types, the permission checking code in LLClientView continues to be used, pending refactoring of suitable permissions code This means that 'share with group' will not yet work for prim inventory items other than notecards and scripts
* check group membership and powers with the groups module rather than just ↵Justin Clark-Casey (justincc)2010-04-051-12/+27
| | | | | | the client's active group id this resolves the earlier issue where notecards/scripts shared with group could only be edited if the user had that group active
* Fix a nullref in permissions when returning objects via right-clickMelanie2010-03-201-2/+2
|
* Flesh out the new permission methodMelanie2010-03-181-4/+95
|
* Unify a previous refactor of object return with the older solution. WeMelanie2010-03-181-65/+6
| | | | really don't need two methods doing the same thing, but differently.
* Reintroduce a check that was dropped from permissionsMelanie2010-03-101-1/+1
|
* Cache UserLevel in ScenePresence on SP creation. Change IsAdministratorMelanie2010-03-091-0/+8
| | | | to use that stored value.
* * Typo fixesJohn Hurliman2010-03-091-4/+5
| | | | * Performance improvement in the expensive GenerateClientFlags()
* Merge branch 'master' into presence-refactorMelanie2010-02-081-4/+7
|\ | | | | | | | | This was a large, heavily conflicted merge and things MAY have got broken. Please check!
| * Revert "Updates all IRegionModules to the new style region modules."Melanie2010-01-291-136/+76
| | | | | | | | This reverts commit ec3c31e61e5e540f822891110df9bc978655bbaf.
| * Fixes inconsistencies in the permissions module. Adds a region_manager_is_godMelanie2010-01-281-4/+7
| | | | | | | | | | | | configurable. Previously, estate managers could enter god mode, but would not have any powers. Now estate managers can enter god mode only if this option is true, and then will have real god powers.
| * Updates all IRegionModules to the new style region modules.Revolution2010-01-231-76/+136
| | | | | | | | Signed-off-by: Melanie <melanie@t-data.com>