made changes to manage permissions from codereview

ticket 853