From: lhazlewood (s. by Nabble.com) <li...@na...> - 2005-12-30 17:27:11
|
I'm thinking we should remove the default target and actions ('*') in the HasPermission annotation. Automatically defaulting to these will cause problems if the user wants to specify a permission class that doesn't have a 2 (or even 1) argument constructor. I'm explicitly thinking of classes like AllPermission or similar ones. Although we are assuming that Permission instances will act as JSecurity's ACL mechanism, there is no reason why the framework shouldn't support other Permission classes that don't conform 100% to this assumption. Will this pose any problems to you if the defaults become null? -- Sent from the Developer forum at Nabble.com: http://www.nabble.com/HasPermission-default-target-and-actions-t826978c13668.html#a2145624 |