Theme - identify the trust level?

For a theme that adds JavaScript to the head, is it possible to identify the trust level of the user?

Seems like this theme component should help:

You just need to make sure to look for highest TL first before you check the lower groups, since everyone is a part of all TLs below their current one.

2 Likes

Thanks.

This might even be better.

Never occured to me that the code at that point could see groups and check that for a finer control of users.

2 Likes