Map permissions to the new operations

See also core-api commit 5b70847a.