Implemented dynamic permissions in Log