agave-metadata/metadata-core/src/main/java/org/iplantc/service/metadata/dao/MetadataDao.java
/**
     * Check if {@code user} has read permissions for the {@code uuid}
     *
     * @param user to lookup permissions for
     * @param uuid the uuid of {@link MetadataItem} to lookup
     * @return true if user has read permission, false otherwise
     */
Check if  user has read permissions for the  uuid
@param user to lookup permissions for
@param uuid the uuid of  MetadataItem to lookup
@return true if user has read permission, false otherwise
Check if user has read permissions for the uuid @param user to lookup permissions for @param uuid the uuid of MetadataItem to lookup @return true if user has read permission false otherwise
public boolean hasRead(String user, String uuid) {
        if (AuthorizationHelper.isTenantAdmin(user))
            return true;
        if (this.accessibleOwners == null)
            setAccessibleOwners(
                    List.of(user, Settings.WORLD_USER_USERNAME, Settings.PUBLIC_USER_USERNAME));
        return checkPermission(uuid, this.getHasReadQuery(user, this.accessibleOwners));
    }
public boolean hasRead ( String user , String uuid ) { if ( AuthorizationHelper . isTenantAdmin ( user ) ) return true ; if ( this . accessibleOwners == null ) setAccessibleOwners ( List . of ( user , Settings . WORLD_USER_USERNAME , Settings . PUBLIC_USER_USERNAME ) ) ; return checkPermission ( uuid , this . getHasReadQuery ( user , this . accessibleOwners ) ) ; }
Check if {@code user} has read permissions for the {@code uuid}
 @param user to lookup permissions for
 @param uuid the uuid of {@link MetadataItem} to lookup
 @return true if user has read permission, false otherwise
Check if { @code user } has read permissions for the { @code uuid } @param user to lookup permissions for @param uuid the uuid of { @link MetadataItem } to lookup @return true if user has read permission false otherwise