Ah I see, generally that's done using actual permissions checks. That'd be assertions if you're using the playground and the integration testing mode if you're running test code. This way, you can be sure to exercise the actual check logic which is especially important as you have more computed permissions