Forum: Ruby on Rails Testing granular permissions

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
papipo (Guest)
on 2005-11-27 23:03
(Received via mailing list)
Where is the place to test if an user is, for example, the owner of a
row in
the database?

This seems to be a unit test work due to the "model security", but since
there is a session (and a logged in user an its id =
i don't know if this should be tested with a functional test.

Please, give me some advice. Thanks,
This topic is locked and can not be replied to.