Implemented permission checks for data-objects.