pub async fn register_model_permissions(
db: &Db,
app: &str,
singular: &str,
) -> Result<()>Expand description
For an admin model named posts, register the canonical four
permissions: add_post, change_post, delete_post, view_post.
Idempotent.