developing role privilege manage