You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cached data package archive files may contain restricted data entities if 1) the archive was created by a data entity privileged user or 2) if the archive was created prior to a request to embargo a data packages' data entities.
The text was updated successfully, but these errors were encountered:
The process of embargoing a data package's data entities removes any existing archive file.
*Note: the createDataPackageArchive API method does not add data entities to the archive file if the user does not have read permission for the data entities; this conditional will force the archive to be generated for each request.
As noted in #1 above, the solution presented in #17 creates a custom zip archive file for each user (including the "public user") and only returns that zip file from the cache, if it exists, for the given user. In this case, the zip file only contains resources that the given user is allowed to access. Assuming no cached zip files exist at the time of an embargo, then all newly created zip files will contain only the resources permitted for that user. This approach, however, does not mitigate the issue when a zip file was created by the "public user" prior to an embargo. In this case, the zip file should be removed from the cache to create a new zip file with the correct set of resources. Therefore, the embargo process should automatically remove any existing zip archive file in the cache when the embargo is applied. Similarly, the embargo process should also remove any zip archive file created during the embargo period so that new zip files will be created post-embargo. The removal capability of zip archive files from the archive cache location is addressed in #78.
Cached data package archive files may contain restricted data entities if 1) the archive was created by a data entity privileged user or 2) if the archive was created prior to a request to embargo a data packages' data entities.
The text was updated successfully, but these errors were encountered: