Add code related to permissions and content wihin block