finalizing changes for permissions