update admin site files

changed permissions checking to refer to all cases as 'permissions'
rather then a mix of 'permissions' and 'rank'