Commit graph

2212 commits

Author SHA1 Message Date
j2blake
da7f10cd0a NIHVIVO-2492 restrict assorted pages by UseMiscellaneousAdminPages and UseMiscellaneousCuratorPages 2011-04-20 17:13:26 +00:00
j2blake
0669f3758a Add toString() methods for easier diagnosis. 2011-04-20 17:12:22 +00:00
ryounes
c89c7b2b30 Remove redundant variable from template data model 2011-04-20 16:03:35 +00:00
j2blake
fbd5496514 NIHVIVO-2492 Restrict page by SeeRevisionInfo requested action. 2011-04-19 19:09:52 +00:00
j2blake
ab48ef4a9c NIHVIVO-2492 Restrict Individual editing by UseIndividualEditorPages requested action, and use of SiteAdmin page by UseSiteAdminPage. 2011-04-19 18:49:17 +00:00
j2blake
8986e0ccda NIHVIVO-2492 Restrict pages by UseMenuEditorPages requested action. 2011-04-19 18:20:55 +00:00
j2blake
b3b40d780d NIHVIVO-2492 Restrict the SiteInfoEditingPage by requested action. 2011-04-19 16:42:27 +00:00
ryounes
1e03e2b5a8 Merge r7827 from nihvivo-rel-1.2-maint branch: fix display of classgroups with no public name on index and home pages. 2011-04-19 16:33:21 +00:00
j2blake
78c3294102 NIHVIVO-2492 Restrict pages by UseTabEditorPages requested action. 2011-04-19 16:30:46 +00:00
j2blake
11e19ce19a NIHVIVO-2492 Restrict pages by UsePortalEditorPages requested action. 2011-04-19 14:49:55 +00:00
j2blake
f2269120d7 NIHVIVO-2492 Improve method names 2011-04-19 14:12:51 +00:00
j2blake
212916ebdc NIHVIVO-2492 Restrict pages by UseEditUserAccountsPages requested action. 2011-04-18 21:14:52 +00:00
j2blake
155ab92f51 Put back the doGet() method, even though it's empty. 2011-04-18 21:14:08 +00:00
j2blake
1c1d48a971 Minor cleanup - omit problematic call to super.doGet(). Add some generics. 2011-04-18 20:21:56 +00:00
j2blake
0eb6f25e89 Clean up some obsolete logic. 2011-04-18 20:00:02 +00:00
j2blake
5d44fa50f7 NIHVIVO-2492 Restrict pages by UseOntologyEditorPages requested action. 2011-04-18 19:55:31 +00:00
j2blake
98d9be5cf2 NIHVIVO-2492 A better implementation to allow RequiresAuthorizationFor this or that. 2011-04-18 18:16:10 +00:00
j2blake
d246b7b9e0 NIHVIVO-2492 A better implementation to allow RequiresAuthorizationFor this or that. 2011-04-18 17:31:02 +00:00
j2blake
bb118dc340 NIHVIVO-2492 Create another "UsePage" action. 2011-04-18 16:51:01 +00:00
j2blake
07b1bee3da NIHVIVO-2492 JenaExportController must be accessible if either of two RequestedActions is authorized. Right now, the annotation can't handle that, so we use this method call instead. Not the best solution. 2011-04-18 15:23:14 +00:00
j2blake
e797657c8e NIHVIVO-2492 Refine PolicyHelper class - create tests. 2011-04-18 15:20:40 +00:00
j2blake
1943040e7d remove compiler warnings; use new-style "for" loop. 2011-04-17 17:07:59 +00:00
j2blake
ce6058b3bb add generic types to return values. 2011-04-17 17:07:02 +00:00
j2blake
0fea51aed7 remove compiler warnings; use new-style "for" loop. 2011-04-17 17:00:18 +00:00
j2blake
9e2d64fb5f remove compiler warnings 2011-04-17 16:15:24 +00:00
j2blake
1fbde99c50 remove compiler warnings; use new-style "for" loop. 2011-04-17 15:38:07 +00:00
j2blake
8e3c13bd4c NIHVIVO-2492 Restrict JenaIngest, JenaExport, RDFUpload and SparqlQuery pages 2011-04-15 22:01:08 +00:00
j2blake
ee81ecfa9b NIHVIVO-2492 Second try at the JSP custom tag - it requires the fully-qualified class name, but it behaves in a much more robust way. 2011-04-15 16:55:20 +00:00
j2blake
83ac0750b5 NIHVIVO-2492 First pass at a mechanism to restrict pages by policy 2011-04-15 15:25:13 +00:00
j2blake
15b778fd79 NIHVIVO-2492 Add a convenience method to get the policies from a request. 2011-04-15 14:38:43 +00:00
ryounes
ccdbee221b NIHVIVO-2481 Fix possible source of NullPointerException (still haven't been able to reproduce) 2011-04-13 21:56:28 +00:00
ryounes
233c1c8feb Add parameters to generic types 2011-04-13 20:56:34 +00:00
ryounes
12f6e832e6 NIHVIVO-2484 Provide a link to a classgroup with no public name on the classgroups list page, so the user can navigate to the page for the group and edit it. 2011-04-13 20:17:18 +00:00
j2blake
e3961cdd20 NIHVIVO-2477 Change the sequence of operations so scaling is done before cropping, thus avoiding the boundary conditions on rounding error. Use Java AWT operations to do scaling and cropping since the JAI operations are buggy. JAI is still used to read the file and to remove transparency. 2011-04-13 20:03:10 +00:00
ryounes
013ef73278 Add utility method wrap to use a non-default BeansWrapper to wrap an object. 2011-04-13 20:01:26 +00:00
j2blake
306a6c8712 NIHVIVO-2254 Adjust for change in VitroFilterUtils 2011-04-11 19:55:45 +00:00
j2blake
863718241d NIHVIVO-2254
Create RequestedActions to display properties and statements. 
Create policies for authorizing those actions. 
Create Identifiers for those policies to recognize. 
Create a filter that is based on policy authorizations. 
Use that filter instead of the one that is based only on role level.
2011-04-11 19:39:36 +00:00
briancaruso
2f1f8c6cff Adding license 2011-04-11 17:52:19 +00:00
briancaruso
3795b8cc9b Removing modTime and timekey from search index. 2011-04-11 17:30:29 +00:00
briancaruso
15f6bbce5c Adding some chagnes to ProcessRdfForm.java 2011-04-11 17:23:50 +00:00
briancaruso
543c1cd945 Adding solr indexing prototype 2011-04-11 17:21:38 +00:00
ryounes
43ba41711b NIHVIVO-2472 Suppress classgroup search refinement link when classgroup has no public name 2011-04-08 20:39:22 +00:00
j2blake
78fec720c4 Remove AuthFlag class - it is no longer used. 2011-04-08 15:36:43 +00:00
deepakkoni
85c124e529 Removing two analyzers on the name field. 2011-04-07 20:29:02 +00:00
deepakkoni
8e194f22d4 Replacing generic QueryParser with MultiFieldQueryParser 2011-04-07 20:20:04 +00:00
j2blake
4d1ec35fc9 NIHVIVO-2254 Remove VisitingPolicyIface - fix a bug 2011-04-06 20:51:26 +00:00
j2blake
7133857bb9 NIHVIVO-2254 Clean up the RequestedAction class hierarchy 2011-04-06 20:38:35 +00:00
j2blake
2f67bd199e NIHVIVO-2254 Remove VisitingPolicyIface 2011-04-06 19:50:41 +00:00
j2blake
625f654ae4 NIHVIVO-2254 Remove compiler warnings 2011-04-06 19:26:07 +00:00
j2blake
b0db5dd122 NIHVIVO-2254 Rewrite the role-based policies to use the PropertyRestrictionPolicyHelper. 2011-04-06 19:11:14 +00:00