Map permissions to the new operations

See also core-api commit 9ad798cce.