User Group Max Priorty

Hi,

I’m just wondering if it’s possible to give a User Group a priority cap? Like UserGroupB can submit jobs at maximum 75 Priority.

We have different departments using our render farm so it would be nice to just prevent non-critical users from submitting their animation tests at 99 priority. And locking it at 50 is a bit harsh too.

I too would love to be able to do this

Thanks for your feedback on this. I’m going to ask that this be put on the wishlist for a future build.

You could do event script to change priority on any submission that is above your set limit for a group of users. Of course this won’t prevent users from changing it back.

You can disable them changing the priority via a user group.

docs.thinkboxsoftware.com/produc … ure-access (‘job properties’ tab)

I need to write up an event plugin, but I’m swamped with a special project at the moment.

The important bits:

You can find out what user group someone is in using this function call:
string[] RepositoryUtils.GetUserGroupsForUser( string user )

That will let you make a group to allow some users to submit with a higher priority, and tie it in with the group set up to disable their changing it.

Next bits are an example event script, which I have here:
github.com/ThinkboxSoftware/Dea … ins/Sample

If anyone wants to take a crack at this, please do. I plan on hacking on it eventually, but I can’t commit to a date at the moment. If you haven’t heard anything back from me in a month, feel free to resurface this thread. I’m hoping to have some wiggle room for scripting by then.

Hey everybody,

I set our support intern Charlie on this yesterday and so we’ve got an event script for you folks.

If there are issues, feel free to use this thread to complain about them :slight_smile:

The instructions on how to use them are in the readme at the following URL:
github.com/ThinkboxSoftware/Dea … orityClamp

You can download the whole project as a zip file from the main Deadline project page:
github.com/ThinkboxSoftware/Deadline
github.com/ThinkboxSoftware/Dea … master.zip

+1 for the original feature request.

I’m confused about how I can use this.

I copied the files into ‘[repo]/custom/events’

and i clicked on tools->synchronise scripts…

but I dont see anything new in the ‘configure plugins’ menu…

It should appear in the “Configure events” menu

ok thanks.

so I just put the name of the user group in and have it enabled and then all job priorities should be capped?

I can still see users submitting at priority 70 even though I have the cap at 50… am i missing something?

It’s certainly supposed to work that way.

If you don’t have a user group configured yet, you’ll need to make one, but it should just work.

This script only handles submission. Users can still go in and fiddle around with priority afterwards. You can disable that too under the User Group Permissions in the ‘Job Properties’ tab.

Technical problems to social issues are always interesting…