I have created a security rule to automatically grant a user access license for any user that logs in, and it works correctly. Now I would like to make the security rule work only if the already allocated licences are under a specific number.
Is there some variable that provides this info which I can use in the security rules condition?