fix issue with data agreement permissions.