Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support configuration on buckets #27

Closed
leplatrem opened this issue Jan 27, 2017 · 0 comments
Closed

Support configuration on buckets #27

leplatrem opened this issue Jan 27, 2017 · 0 comments

Comments

@leplatrem
Copy link
Contributor

leplatrem commented Jan 27, 2017

In our use case for blocklists, it would be better to be able to define the configuration on the staging bucket.

The groups URI could contain placeholder like this:
"/buckets/source/groups/{collection_id}-reviewers"

"hooks": [{
      "event": "kinto_signer.events.ReviewRequested",
      "subject": "{user_id} requested review on {bucket_id}/{collection_id}.",
      "template": "Review changes at {root_url}admin/#/buckets/{bucket_id}/collections/{collection_id}/records",
      "recipients": ["/buckets/source/groups/{collection_id}-reviewers"]
    }]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant