Commit graph

4901 commits

Author SHA1 Message Date
j2blake
4ddfff7018 NIHVIVO-3523 Create the EditByRolePermission, so we can use the PermissionsPolicy instead of EditRestrictedDataByRoleLevelPolicy, and these edit restrictions can be assigned to arbitrary PermissionSets. 2012-01-06 22:39:41 +00:00
j2blake
ffafc5f3e0 NIHVIVO-3523 Create the DisplayByRolePermission, so we can use the PermissionsPolicy instead of DisplayRestrictedDataByRoleLevelPolicy, and these display restrictions can be assigned to arbitrary PermissionSets. 2012-01-06 21:58:16 +00:00
hjkhjk54
30855a60a5 NIHVIVO-3357- updating per Brian Lowe's instructions, commenting out portion that would add all subclasses of owl:Thing in case property has no range. 2012-01-06 17:38:50 +00:00
j2blake
6bd7e4bb7b NIHVIVO-3523 catch up with the trunk 2012-01-04 19:48:51 +00:00
j2blake
9e3c1809c8 NIHVIVO-3523 catch up with the trunk 2012-01-04 19:46:58 +00:00
j2blake
213055b65f Tweak the description of vitro.ocal.solr.ipaddress.mask 2011-12-31 16:32:44 +00:00
j2blake
3393f16920 NIHVIVO-3523 Merge additional changes from branches/dev-permissions-NIHVIVO-3523 2011-12-23 19:42:53 +00:00
j2blake
9d74b4e41a NIHVIVO-3523 Protect against null arguments. 2011-12-23 19:29:45 +00:00
j2blake
a75b15d940 NIHVIVO-3523 Handle multiple roles properly when creating or editing user accounts. For a new account, suggest the default roles. Still using only one role, because we have radio buttons instead of checkboxes. 2011-12-23 19:24:51 +00:00
j2blake
c18e14a106 Fix UserAccounts list page so it encodes the role URIs properly when filtering. Only show non-public roles for selections. 2011-12-23 17:38:31 +00:00
j2blake
5051c56f7a NIHVIVO-3523 Break up the CommonIdentifierBundleFactory into several pieces: one for each type of Identifier. Add some unit tests. 2011-12-23 17:33:48 +00:00
j2blake
f63722a2fe NIHVIVO-3523 The IsRootUser identifier takes no parameters, so make it a singleton. 2011-12-23 16:49:19 +00:00
j2blake
5ca2848946 NIHVIVO-3523 Override equals() and hashCode() to make these Identifiers more flexible and more testable. 2011-12-23 16:48:46 +00:00
j2blake
59f3cb6311 NIHVIVO-3523 Add convenience constructors to ArrayIdentifierBundle 2011-12-22 19:59:12 +00:00
j2blake
9d55acb2f3 NIHVIVO-3523 Re-write Permission as an abstract class rather than an interface. Make it Comparable. Remove the unused methods for getLocalName() and getNamespace() 2011-12-22 19:39:23 +00:00
j2blake
45e8d0c654 NIHVIVO-3523 Convert all simple PUBLIC-or-above requested actions to SimplePermissions. 2011-12-22 15:33:48 +00:00
j2blake
e5894ee80a NIHVIVO-3523 Add the concept of a PermissionSetForPublic (and rename PermissionSetForNewUsers) 2011-12-22 15:33:18 +00:00
j2blake
779c48c683 NIHVIVO-3523 Improve the layout of admin/showAuth 2011-12-22 15:32:12 +00:00
j2blake
5feb8eda7a NIHVIVO-3523 Merge the JSP fixes from branches/dev-permissions-NIHVIVO-3523 2011-12-21 23:18:39 +00:00
j2blake
94a2d9327c NIHVIVO-3523 Oops. Some of the JSPs were using those RequestedAction classes that I converted to SimplePermissions. 2011-12-21 23:02:31 +00:00
j2blake
4dd304304b NIHVIVO-3523 Merge the SimplePermission code from branches/dev-permissions-NIHVIVO-3523 2011-12-21 22:23:34 +00:00
j2blake
8ba596bfae NIHVIVO-3523 Convert all simple SELF_EDITOR-or-above requested actions to SimplePermissions. 2011-12-21 22:08:33 +00:00
j2blake
b36659d9f4 NIHVIVO-3523 Convert all simple EDITOR-or-above requested actions to SimplePermissions. 2011-12-21 21:41:13 +00:00
j2blake
1aac179c87 NIHVIVO-3523 Convert all simple CURATOR-or-above requested actions to SimplePermissions. 2011-12-21 21:23:04 +00:00
j2blake
e3ecedb881 Bring branch up to date with trunk. 2011-12-21 20:48:56 +00:00
j2blake
adad173dc9 NIHVIVO-3523 Convert all simple ADMIN-only requested actions to SimplePermissions. 2011-12-21 20:46:17 +00:00
j2blake
a5495f36b4 NIHVIVO-3523 Create the PermissionsPolicy. 2011-12-20 22:13:58 +00:00
j2blake
df0da56e7b NIHVIVO-3523 Create the HasPermission identifier. 2011-12-20 22:00:48 +00:00
j2blake
24e1c7cfd8 NIHVIVO-3523 Set up an empty PermissionRegistry for the unit test. 2011-12-20 21:54:09 +00:00
j2blake
e72cd6a78b NIHVIVO-3523 Implement more functionality for unit tests. 2011-12-20 21:53:27 +00:00
j2blake
20b7f694d1 NIHVIVO-3523 Write the PermissionSetsLoader. 2011-12-20 21:24:52 +00:00
j2blake
a9c7b3fead NIHVIVO-3523 Add DefaultPermissionSetForNewUsers to the User Accounts Model, with a property in PermissionSet and a test in UserAccountsDaoJenaTest. 2011-12-19 23:10:30 +00:00
j2blake
7d7503fc22 NIHVIVO-3523 Rewrite the PermissionRegistry to be immutable, and to distribute BrokenPermissions when someone asks for a Permission that doesn't exist. 2011-12-19 21:19:58 +00:00
j2blake
9d89fc291c NIHVIVO-3522 Changed to the new PermissionSet URIs, with updater. 2011-12-17 23:48:29 +00:00
j2blake
c218772486 Merge 9440:9446 from the maintenance branch 2011-12-16 21:01:30 +00:00
j2blake
b18680fc85 Merge 9440:9446 from the maintenance branch 2011-12-16 20:59:56 +00:00
j2blake
4139ec0f6e NIHVIVO-3523 For the first iteration, let's implement MANAGE_MENUS as a SimplePermission. This version still needs the loader and the policy and... 2011-12-16 20:52:23 +00:00
j2blake
bf27bddb46 NIHVIVO-3523 Different RequestedActions may need different means of creating a URI. In particular, SimpleRequestedAction provides a different GUI for each instance. 2011-12-16 20:50:05 +00:00
j2blake
fa34ce4293 Create a branch to implement the first cut at Permissions. 2011-12-16 20:25:53 +00:00
hjkhjk54
4de612a306 updates for NIHVIVO-3517 "Template exception thrown when deleting either hasEditorRole or hasReviewerRole properties". Updated EditConfigurationTemplateModel to return ObjectPropertyTemplateModel representing property and Freemarker template to assign that object to the variable "property" so the list view for reviewer/editor would work correctly. 2011-12-16 19:31:49 +00:00
brianjlowe
555d32bb91 NIHVIVO-3521 changed individual control panel to use an ungrouped dropdown of classes 2011-12-16 19:13:53 +00:00
tworrall
69a8deee4d NIHVIVO-3519 2011-12-16 18:15:34 +00:00
brianjlowe
2bdb44685f NIHVIVO-3516 fixed merge tool so it doesn't strand triples in a graph named with SDB's union URI 2011-12-16 17:20:10 +00:00
j2blake
f3d6e33a01 Merge 9428 from 1.4 maint branch 2011-12-15 20:43:15 +00:00
tworrall
afafd90e13 NIHVIVO-3514 2011-12-15 20:08:06 +00:00
stellamit
77c49f7c65 merge for NIHVIVO-3511 2011-12-15 17:42:40 +00:00
brianjlowe
5966c5e945 NIHVIVO-3510 fixed bugs introduced in updating sparql query builder to generate prefixes 2011-12-15 17:36:37 +00:00
j2blake
abf72d6924 Merge 9421 from 1.4 maint branch 2011-12-15 16:12:19 +00:00
brianjlowe
6a8c434a84 NIHVIVO-3510 modified sparql query builder to manufacture prefixes for any namespaces that need them 2011-12-15 15:08:17 +00:00
brianjlowe
4b8f9c613d NIHVIVO-3513 fixes bug where model list wasn't showing after loading RDF in ingest tools 2011-12-14 22:45:39 +00:00