Suggestion #35420

Review use of try / catch in the Security Framework

Added by Rens Admiraal almost 10 years ago.

Should have
Target version:
Start date:
Due date:
% Done:


Estimated time:


Just to not forget about the comments in

Karsten Dambekalns Mar 12
Patch Set 1:
If that is considered proper use of the security framework… would be nice to have something that doesn't use try/catch.
Andreas Förthner Mar 12
Patch Set 1: Looks good to me, but someone else must approve
Currently the security framework works like this. I agree that it is somehow strange to catch an exception here. On the other hand this makes it really explicit and really ensures that you are aware of coding the restricted case. For know I wouldn't change it, but we can discuss if we need some true/false method for access decisions.

No data to display

Also available in: Atom PDF