oadmin.r_perm_add function

Add or update a R permission