Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2344

WebAdmin should allow user quota management

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.1
    • None
    • webadmin
    • None

    Description

      Endpoint should be

      /quota/users/{user}/size

      and

      /quota/users/{user}/count

      and should support PUT, DELETE and GET verbs.

      GET should return hierarchical values like :

       

      {
      
      default : {
      
        size: "12345"
      
      },
      
      domain : {
      
        count : "12345"
      
      },
      
      user : {
      
        size : "-1", //for infinity
      
        count : "99999"
      
      },
      
      computed : {
      
        size : "-1",
      
        count: "99999"
      
      }
      
      }
      

      "-1" should be considered a special value meaning infinity.

      Setting a quota that is smaller that current user usage should return a 409 Conflict response.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            matthieu Matthieu Baechler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: