[jira] [Commented] (OFBIZ-9557) Add the ability to schedule a job to run as a system/service user

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-9557) Add the ability to schedule a job to run as a system/service user

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-9557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16666052#comment-16666052 ]

Rohit Koushal commented on OFBIZ-9557:
--------------------------------------

Hi [~jacques.le.roux] ,

Attaching the patch for this improvement, which run Jobs as system user from Schedule jobs screen.

For the permission thing I have created following data and assigning this permission to the SUPER AND FULLADMIN group

{code}

<SecurityPermission description="Run Schedule jobs as system user." permissionId="SERVICE_RSAS_VIEW" />

<SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="SUPER" permissionId="SERVICE_RSAS_VIEW"/>

<SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FULLADMIN" permissionId="SERVICE_RSAS_VIEW"/>

{code}

 

Please review and test the changes and let me know if anything is missing.

> Add the ability to schedule a job to run as a system/service user
> -----------------------------------------------------------------
>
>                 Key: OFBIZ-9557
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9557
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: tools
>            Reporter: Matthew Mulligan
>            Assignee: Rohit Koushal
>            Priority: Major
>         Attachments: OFBIZ-9557.patch
>
>
> When scheduling a job it automatically schedules it to run as the user that created the schedule. The issue comes up when that users password changes.
> We use LDAP authentication and our passwords change every 90 days. Right now every 90 days when my password changes I have to delete all previously scheduled jobs and recreate them.
> What would be nice is an option when scheduling the job to Run as System account or Run as User and be able to put the users name in.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)