Encoding organization selection in a URL

Is it possible to craft a URL in katello that will take a user to the UI
and automatically select an organizational context?

Example, I have an organization "MY_ORG" in my katello server and I want
to create a URL that takes you to

https://<myserver>/subscriptions

in the "MY_ORG" context, assuming the user clicking on the link has
permissions to "MY_ORG" of course.

Background - I am generating organization specific emails in my plugin, and
I would like to link the user back to the server UI in the correct org.

Lindani

I do not believe so today. The code appears to check only for a session
variable and not an incoming URL variable [1]. I think this would probably
be fairly easy to add support for.

[1]

··· On Thu, Nov 10, 2016 at 6:41 AM, Lindani Phiri wrote:

Is it possible to craft a URL in katello that will take a user to the
UI and automatically select an organizational context?

Example, I have an organization “MY_ORG” in my katello server and I want
to create a URL that takes you to

https:///subscriptions

in the “MY_ORG” context, assuming the user clicking on the link has
permissions to “MY_ORG” of course.

Background - I am generating organization specific emails in my plugin,
and I would like to link the user back to the server UI in the correct org.

Lindani


You received this message because you are subscribed to the Google Groups
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Eric D. Helms
Red Hat Engineering
Ph.D. Student - North Carolina State University