The Wayback Machine - https://web.archive.org/web/20211127075107/https://github.com/ansible/awx/issues/10600
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assign user with sechedule #10600

Closed
riadhhamdi opened this issue Jul 7, 2021 · 6 comments
Closed

Assign user with sechedule #10600

riadhhamdi opened this issue Jul 7, 2021 · 6 comments

Comments

@riadhhamdi
Copy link

@riadhhamdi riadhhamdi commented Jul 7, 2021

ISSUE TYPE
  • Feature Idea
SUMMARY

Schedules launch job templates/workflow templates without assigning them a user.

Can we define the awx_user_id or the tower_user_id of the job launched by a schedule as the user who creates the schedule

@aminst
Copy link

@aminst aminst commented Jul 19, 2021

Hi,
I hope you are doing well.
As I have understood so far, Are you suggesting a created-by field in the scheduled jobs?
I assume I will need to add a new field to the Schedule model, do the migrations, and update the UI, am I right?
I would like to develop this feature, this is my first open-source contribution and I hope it goes well.

@aminst
Copy link

@aminst aminst commented Jul 20, 2021

I think this feature can be implemented similar to the by <owner> field in the job detail.
Like below:
image

@briantist
Copy link

@briantist briantist commented Jul 21, 2021

Hi @aminst I saw your message on IRC but you had already left. I'm not a contributor or user of AWX so hopefully you'll be able to chat with someone involved in the project (I recommend returning to IRC during European and/or North American daytime hours).

In the meantime, I'd say check out the general contributing advice on the project's README: https://github.com/ansible/awx#contributing

If you haven't already, start by forking the repository in GitHub so you can get your local copy set up and start to make changes, which you can then push up and create a Pull Request.

@aminst
Copy link

@aminst aminst commented Jul 21, 2021

Hi @aminst I saw your message on IRC but you had already left. I'm not a contributor or user of AWX so hopefully you'll be able to chat with someone involved in the project (I recommend returning to IRC during European and/or North American daytime hours).

In the meantime, I'd say check out the general contributing advice on the project's README: https://github.com/ansible/awx#contributing

If you haven't already, start by forking the repository in GitHub so you can get your local copy set up and start to make changes, which you can then push up and create a Pull Request.

Hi @briantist, hope you are doing well.
I would definitely check it out.
Thanks a lot for your response, It really helped. 👍

@aminst
Copy link

@aminst aminst commented Jul 21, 2021

Hello again, @riadhhamdi I think this feature already exists.
AWX only assigns users to user-created schedules, as you can see in the attached picture I am assigned as the creator of the schedule.
If you mean this functionality, it's already there, please correct me if I understood your feature proposal wrong.

image

@AlexSCorey
Copy link
Contributor

@AlexSCorey AlexSCorey commented Oct 28, 2021

This have been resolved in awx devel
Screen Shot 2021-10-28 at 12 05 38 PM
Screen Shot 2021-10-28 at 12 05 15 PM
Screen Shot 2021-10-28 at 12 04 57 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants