Utility method to check if the license allows the file to be downloaded.
Utility method to check if the license allows the file to be downloaded. Currently, if the license type is NOT "license1", or if it is "license1" and the "allowDownload" flag is set, the file can be downloaded.
A boolean, true if the license type allows the file to be downloaded, false otherwise.
Utility method to check if a name matches the rights holder of the license.
Utility method to check if a name matches the rights holder of the license.
A String that represents the name of a user to compare to the current rights holder.
A boolean, true if the parameter matches the owner, false otherwise.
case class to handle specific license information. Currently attached to individual Datasets and Files.