Please note that you can subscribe to the individual forums. A subscription for news only covers the news.

Clear all

Check for punishment in beforeProcedure in permission


Topic starter

BeforeProcedure of an permission seems to be called for an permission which is forbidden by a punishment. How do I determine in beforeProcedure that the permission is denied because of a punishment?

1 Answer

Yes, BeforeProcedure is called first, to give it a chance to reject the permission.

I don't think you can get the information that the permission is denied because of a punishment. But if you just don't do anything, the program will take over and deny the permission.

The same goes for any other deny reason defined in the permission.