[Rails] Added custom data permissions