wiki:addAUTH

Version 2 (modified by antonak, 12 years ago) (diff)

--

  • Add at your molgenis.properties file :
    • at import_model_database : model/auth.xml,\
    • and auth_loginclass = org.molgenis.omx.auth.DatabaseLogin?

molgenis_ui : 

<plugin name="SimpleUserLogin" type="org.molgenis.omx.auth.ui.SimpleUserLogin" label="Login" />

A menu will be handy : 

<menu name="Auth" label="Users and permissions">
  				<menu label="Basic management" name="Management">
  					<form name="!MolgenisUser" entity="!MolgenisUser" />
  					<form name="!MolgenisGroup" entity="!MolgenisGroup" />
  					<form name="!MolgenisRoleGroupLink" entity="!MolgenisRoleGroupLink" />
  					<form name="!MolgenisEntity" entity="!MolgenisEntity" view="list"
  						label="Entities" />
  					<form name="!MolgenisPermission" entity="!MolgenisPermission" />
  				</menu>
  				<plugin label="My permissions" name="!PermissionManagementPlugin"
  					type="org.molgenis.omx.auth.service.permissionmanagement.!PermissionManagementPlugin" />
  				<plugin label="Upgrade person to user" name="!UserToPersonPlugin"
  					type="org.molgenis.omx.auth.service.persontouser.!PersonToUser" />
  				<plugin label="Security tokens" name="!TokenManagerPlugin"
  					type="org.molgenis.omx.auth.service.tokenmanager.!TokenManager" />
  				
  			</menu>	
  		</menu>

  • dgrsdg