Disable Priority selection for certain user group?

In my setup there are 200 deadline users, many of whom unfortunately abuse the priority system so the deadline queue mode is currently set to Pool > Balanced. I now have a have a handful of responsible power users who would benefit from a priority based system so Pool > Priority > Balanced would be the preferred setup for these users.

Is there a way I can disable the setting of a priority by usergroup through permissions somehow?

Thanks!

While there is no way to restrict it on submission, as the user groups can only limit stuff in the monitor, which submission scripts aren’t a part of, there are some ways you can work the system.

In the past one customer made an onsubmit script to change the priority to the default, and then disabled the edit of priorities in the job properties for all but a few users, the ones you can trust. Will this work for you?

Hi, thanks for that, sounds like that might work and would be happy to give it a go.
Is this onsubmit script publicly available somewhere and how and where would I implement it?

Here are a few links to get you going:

docs.thinkboxsoftware.com/produc … ugins.html
docs.thinkboxsoftware.com/produc … tener.html
github.com/ThinkboxSoftware/Dea … nts/Sample

Here’s an example that may do (nearly) what you need:

github.com/ThinkboxSoftware/Dea … orityClamp

I would still love to see options for per-user-group priority cap overrides (and I know I’m not alone…) :wink:

I can definitely pass that along to the dev team, however anything controlled by the user groups would only be applied to the Monitor, not anything related to the submission or rendering of jobs, as those are outside of the Monitor context.

Yeah, what I’m interested in is a way to prevent certain user groups from escalating priorities for their (or any other) jobs past a certain point.

Thanks I’ll give this a try and get back when I have gotten round to trying it out.

The same would also be useful for Pools to prevent people from hogging a pool that is none of their business, just to get ahead in the queue. Why can’t people just be disciplined?! :cry:

I’ll put in a request for an ‘on job modified’ event. Not ideal, but we should really have that event anyway.

So, I’m a little embarassed, but disabling options from the UI has been implemented for quite awhile via user groups.

Check it out:
docs.thinkboxsoftware.com/produc … ure-access

Look under ‘job properties’.