ActsAsRolePermittable 拡張(4)

Actsの実装コードですが、先に、WjRolePermissionKeys#roles と WjRolePermissionKeys#permit? だけ片付けられそうですね。

# あとで書く

で、WjComponentPage#permit_roles やら、permit? やらを acts_as_role_permittable に実装しにいきます。
大抵は、wj_role_permissions.find('default') の結果に対してメソッドを投げてやれば良さそうです。