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

Administer Sieve quotas via WEBADMIN

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • master
    • None
    • webadmin

    Description

      James allows users to store Sieve scripts. As defined in ManageSieve RFC such storage should be limited by quotas. Hence, James allow administration of such quotas via the Command Line Client. But miss this administration aspect through webadmin.

      In webadmin-data project, crete a SieveQuota route class directly calling SieveRepository to create, read and delete such quotas. Globally, and per user. You will write relevant unit tests.

      You can have a look to the existing GlobalQuotaRoutes and related tests in GlobalQuotaRoutesTest.

      Here is the proposed API:

      GET /sieve/quota
      150000
      (Expressed in bytes)
      
      PUT /sieve/quota
      160000
      
      DELETE /sieve/quota
      
      
      GET /sieve/quota/:user
      150000
      (Expressed in bytes)
      
      PUT /sieve/quota/:user
      160000
      
      DELETE /sieve/quota/:user
      

      Don't hesitate to ask for help on the Gitter chat.

      Attachments

        Activity

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: