Just assign a default role to all users that you create. Then, you can
specify authorization rules for that role. Does that help?
Steffen
I haven't quite understood yet why assigning a default role is hard.
We always have to weigh the implementation effort on the app developer side
(that might be decreased by such a feature) against increased learning effort
that is needed to read and edit the authorization rules. Thus, there need to
be good reasons for any addition to the authorization DSL.
> and also
>
> if_user :attribute => :value
>
> the last one can check some attributes of the current user, it would
> be nice too)
I haven't seen any example where I'd need this. Normally, there is some
relationship between a user and the object that the user is acting on. Can
you give an example where this is needed and simple role assignment is
unpractical?
Steffen