add rights management function
update permission
add permission manager