Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6102851
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:39:42+00:00 2026-05-23T13:39:42+00:00

Need guidance on best practice for implementing a simple quota system I’d like to

  • 0

Need guidance on best practice for implementing a simple quota system

I’d like to limit the number of times a Member can add a custom content type (called Token) to their Member Folder (I’ve also created a custom Member Folder).

Use Case (limit number of tokens addable by a Member):

Let’s assume that our custom content type is called a ‘Token’. It should be possible to set a limit on the number of tokens that can be added. E.g. the limit is set to 2.
After adding two tokens to their Member Area they no longer have permission to add
further tokens.

What I’m considering

I’m looking into DCWorkflow and wondering if some kind of guard condition may be an option. I also looked at the source code for an addon called ‘quota’ which uses a class/require zcml directive (code is here: http://svn.plone.org/svn/collective/quota/trunk/configure.zcml).

It seems that I may need to customize the Member Folder and not the workflow on the ‘Token’ itself. I would appreciate any pointers/guidance on this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T13:39:43+00:00Added an answer on May 23, 2026 at 1:39 pm

    I don’t believe this can be achieved with workflow, as adding content is not a workflow action. I would use a custom add form for your token type, and disallow content creation when the user already has two or more tokens.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to build a simple HTTP server in C. Any guidance? Links? Samples?
I need some guidance on how best to run this program. Im trying to
Need some guidance figuring out what went wrong. I've been using mysql, phpmyadmin for
I am new to mocking and dependency injection and need some guidance. My application
I am new in this field and i desperately need some guidance from u
I am in need of some guidance of how to carry out a specific
What is the best way to do this theoretically? I need to let the
I need some HTML/CSS guidance. My goal is to create a contacts list screen
what is best method to store multiple images (layers) , so user can read(load)
I'm looking for some guidance in terms of best practices when dealing with custom

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.