Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xnat-web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dhcp
xnat-web
Commits
0f4df751
Commit
0f4df751
authored
8 years ago
by
Justin Cleveland
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/master' into HEAD
parents
fd32a63c
1f9a6e87
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/nrg/xnat/restlet/resources/ProjectMemberResource.java
+7
-14
7 additions, 14 deletions
...org/nrg/xnat/restlet/resources/ProjectMemberResource.java
with
7 additions
and
14 deletions
src/main/java/org/nrg/xnat/restlet/resources/ProjectMemberResource.java
+
7
−
14
View file @
0f4df751
...
...
@@ -10,27 +10,18 @@
*/
package
org.nrg.xnat.restlet.resources
;
import
java.sql.SQLException
;
import
java.util.ArrayList
;
import
java.util.Hashtable
;
import
java.util.List
;
import
javax.servlet.http.HttpServletRequest
;
import
com.noelios.restlet.ext.servlet.ServletCall
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.velocity.VelocityContext
;
import
org.nrg.action.ActionException
;
import
org.nrg.xdat.display.DisplayManager
;
import
org.nrg.xdat.om.XdatUsergroup
;
import
org.nrg.xdat.om.XnatProjectdata
;
import
org.nrg.xdat.security.UserGroupI
;
import
org.nrg.xdat.security.helpers.Groups
;
import
org.nrg.xdat.security.helpers.Permissions
;
import
org.nrg.xdat.security.helpers.Users
;
import
org.nrg.xdat.security.user.exceptions.UserNotFoundException
;
import
org.nrg.xdat.turbine.utils.AdminUtils
;
import
org.nrg.xdat.turbine.utils.TurbineUtils
;
import
org.nrg.xft.ItemI
;
import
org.nrg.xft.XFTTable
;
import
org.nrg.xft.event.EventMetaI
;
import
org.nrg.xft.event.EventUtils
;
...
...
@@ -38,8 +29,6 @@ import org.nrg.xft.event.persist.PersistentWorkflowI;
import
org.nrg.xft.event.persist.PersistentWorkflowUtils
;
import
org.nrg.xft.exception.DBPoolException
;
import
org.nrg.xft.exception.InvalidItemException
;
import
org.nrg.xft.search.CriteriaCollection
;
import
org.nrg.xft.search.ItemSearch
;
import
org.nrg.xft.security.UserI
;
import
org.nrg.xnat.turbine.utils.ProjectAccessRequest
;
import
org.nrg.xnat.utils.WorkflowUtils
;
...
...
@@ -51,7 +40,11 @@ import org.restlet.data.Status;
import
org.restlet.resource.Representation
;
import
org.restlet.resource.Variant
;
import
com.noelios.restlet.ext.servlet.ServletCall
;
import
javax.servlet.http.HttpServletRequest
;
import
java.sql.SQLException
;
import
java.util.ArrayList
;
import
java.util.Hashtable
;
import
java.util.List
;
public
class
ProjectMemberResource
extends
SecureResource
{
XnatProjectdata
proj
=
null
;
...
...
@@ -119,7 +112,7 @@ public class ProjectMemberResource extends SecureResource {
UserI
newUser
=
null
;
try
{
newUser
=
Users
.
getUser
(
uID
);
}
catch
(
UserNotFound
Exception
e
)
{
}
catch
(
Exception
e
)
{
}
if
(
newUser
==
null
){
//by email
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment