Skip to main content

Criteria gate

Restricts category access by user criteria. The gate uses the standard criteria builder, the same one trophies, user upgrades, and notice criteria use. You can require a minimum post count, a registration date older than X, membership in a specific user group, custom user field values, and more.

Where to manage

AdminCP > [MC] Downloads Manager > Criteria gates.

Each criteria gate row ties a category to a set of criteria. A category with no rows is unrestricted.

Adding a criteria gate

  1. Navigate to AdminCP > [MC] Downloads Manager > Criteria gates.
  2. Click Add criteria gate.
  3. Choose the category to restrict.
  4. Enter an optional title (this shows up in the audit log).
  5. Build the criteria using the standard criteria UI.
  6. Click Save.

A category can have several criteria gate rows. The visitor must match every row to pass.

Guests

Guests cannot match user criteria, so any active criteria gate blocks guests with a "log in to continue" challenge.

Bypass

Grant Bypass criteria gate (in the Downloads moderator permission group) to skip this gate. Useful for staff and high-trust groups.

What the add-on does when this gate triggers

The request is short-circuited with HTTP 403. Logged-in users get a challenge page listing the criteria they did not match (for example "Account must be at least 30 days old", "Must be in the Verified user group"). Guests are redirected to the standard log-in flow. A "Criteria gate failed" entry is written to the audit log with the failed criteria identifiers.

Audit log

Adding, editing, or removing a criteria gate row is recorded in the audit log. See what you'll see in the audit log.