Added name attr to the permissions list.