fesplugas/typus — pull request #376 by vzctl (2012-06-25 00:44:32+00:00)
Title: Use current_role to fix mass-assignment issue

I tried to add dependent object and got mass-assignment error for the foreign key even though it was allowed for the admin role. This patch fixes the issue (sorry, no tests, the problem should be obvious enough).