|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.mayo.bsi.ngsportal.CopyUserPermissions
public class CopyUserPermissions
Class for app that copies user permissions (i.e. userRole settings) from one sample to other samples,
or from one user to other users.
Usage:
1: Give members of a lab access to all the PI's samples:
java -jar CopyUserPermissions.jar -u [PI LanID] -t PI -U [Person LanID] -U [Person LanID]
-T Researcher -p [Properties File Path]
2: Copy permissions from one sample to all the other samples in a run:
java -jar CopyUserPermissions.jar -f [Sample Flowcell] -l [Sample Lane] -i [Sample Index]
-R [Target Run Name] -p [Properties File Path]
3: Copy permissions from one sample to one or more other samples:
java -jar CopyUserPermissions.jar -f [Sample Flowcell] -l [Sample Lane] -i [Sample Index]
-F [Target Flowcell] -L [Target Lane] -I [Target Index] -p [Properties File Path]
In cases 2 and 3 it is the user's responsibility to insure that the Sample information is sufficient
to uniquely specify one sample.
@author Gregory Dougherty
| Constructor Summary | |
|---|---|
CopyUserPermissions()
|
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
Parse the arguments in order to add secondary analysis status information to the database |
String |
name()
Return the name of the application |
String |
usage()
Writes Usage information to a String |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CopyUserPermissions()
| Method Detail |
|---|
public static final void main(String[] args)
args - Arguments to parse. Specified by usage()public String usage()
usage in interface UsageUsage.usage()public String name()
name in interface UsageUsage.name()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||