[IC] updated set permissions logic