ondemand icon indicating copy to clipboard operation
ondemand copied to clipboard

Missing documentation example

Open linhbngo opened this issue 4 years ago • 2 comments

There seems to be no example for individual user quota at https://osc.github.io/ood-documentation/latest/customization.html#individual-user-quota

┆Issue is synchronized with this Asana task by Unito

linhbngo avatar Aug 03 '21 12:08 linhbngo

Hi, sorry for the confusion. There is no schema difference between the two.

The real difference between records that have type == fileset

{
  "type": "fileset"
}

and records that have type == user

{
  "type": "user"
}

is in what wording is being presented to the user. When a quota is a fileset type - it's shared, so the view presented to the user will let you know how many of these files are yours.

https://github.com/OSC/ondemand/blob/19305237062e91406528856a7e376e254fe78794/apps/dashboard/config/locales/en.yml#L133-L136

johrstrom avatar Aug 03 '21 13:08 johrstrom

I hit enter too early on the message above and had to edit it afterwards. Hope you get notified for the same.

johrstrom avatar Aug 03 '21 14:08 johrstrom