aces / cbrain

CBRAIN is a flexible Ruby on Rails framework for accessing and processing of large data on high-performance computing infrastructures.
GNU General Public License v3.0
71 stars 42 forks source link

The 'My account' page should have a section with disk quotas #1292

Open prioux opened 1 year ago

prioux commented 1 year ago

The "my Account" page should have a small report about all the quotas that apply to the user.

Also, as an addition, we have a general disk quotas index table that show (to the admin) all the quota records, and (to a user) all the quota records that apply to them. That table doesn't help an admin figure out which user is near their quotas. Maybe we need a new table for that? We could also have an option to show the table 'as user XYZ' ?

MontrealSergiy commented 1 year ago

What is near quota? Say 95 % ?

prioux commented 1 year ago

95% seems like a fine idea.

Note that the DiskQuota models don't have any methods to do things like that. We'd have to add such methods first.