From: jhaile (s. by Nabble.com) <li...@na...> - 2005-12-30 19:17:06
|
Maybe you could provide a little more info as to how the HasPermission tag would work if we made this change. Currently, all of my permissions have 2-arg constructors. I also do not use the ACL feature, but instead only ever specify the class name and the action(s) - therefore depending upon the default value of "*". The HasPermission annotation currently assumes that all permission classes have a 2-arg constructor. If we changed the annotation to not default to "*" for target and actions, what would it default to? I don't want to have to specify target for every annotation since I don't even use it. Is the HasPermission module going to guess at how many args the constructor takes in? etc etc? I could make up possibilities all day long, but how exactly are you proposing the tag would work if we changed the default from "*"? -- Sent from the Developer forum at Nabble.com: http://www.nabble.com/HasPermission-default-target-and-actions-t826978c13668.html#a2146878 |