Hi Brendan.Buchan,
I like the idea of using the visibility of a button depending on user access rights.
However could it work for the visibility of a login button?
Wouldn't you have to login to satisfy when this expression is true "CurrentUserHasCode(P)" unless the default user had access to (P) which means the button would be visible to all users?
Regards,
Donnacha.