change permission for activities