On Apr 9, 2010, at 5:43 AM, Fendt, Oliver wrote:
> I have probably a stupid question but I did not find the answer right now in
> the docu .
> Is there a way to create an user account with the following permissions:
> Upload files
> Schedule analysis
> View and download
> Delete uploads
>
> But
> NOT be able to change the job priorities
Hi Oliver,
That's a good idea. Right now if you have "analyze" permission, you also have
permission to change priority of jobs.
One solution is to modify the code. In file jobs-showjobs.php, around line
522, change:
case "HTML":
/* Process any actions */
if (@$_SESSION['UserLevel'] >= PLUGIN_DB_ANALYZE)
{
$JobPk = GetParm("jobid",PARM_INTEGER);
Change PLUGIN_DB_ANALYZE to PLUGIN_DB_USERADMIN:
case "HTML":
/* Process any actions */
if (@$_SESSION['UserLevel'] >= PLUGIN_DB_USERADMIN)
{
$JobPk = GetParm("jobid",PARM_INTEGER);
That should do it.
Bob
_______________________________________________
fossology mailing list
[email protected]
http://fossology.org/mailman/listinfo/fossology