主题 - 确定信任级别?

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

1 个赞

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 个赞

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 个赞