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 template replacements from data. #1

Open
almet opened this issue Mar 15, 2016 · 2 comments
Open

Support template replacements from data. #1

almet opened this issue Mar 15, 2016 · 2 comments
Labels
stale For marking issues as stale. Labeled issues will be closed soon if label is not removed.

Comments

@almet
Copy link
Member

almet commented Mar 15, 2016

  // Another example.
  {
    "kinto-emailer": {
      "sender": "Form Builder <[email protected]>",
      "collection.created": {
        "template": "You've just created a new form. Here are the details: \n- {email.data.formURL}\n -{email.data.formAdminURL}"
        "recipients": ['{email.recipients}']
      },

      "record.created": {
        "template": ""
        "recipients": ['{email.recipients}']
      }
    }
  }

/buckets/{buck}/collections/{collection}/emails contains recipients, can be accessed only by people with the write permission on the collection.

@lavish205
Copy link
Member

@almet need more information for working on this bug.

@Natim
Copy link
Member

Natim commented Dec 22, 2016

@lavish205 The problem we are trying to solve here, is a way to let people read the schema on the collection but without giving them the ability for reading the whole list of emails.

This is a bit related to #6

@alexcottner alexcottner added the stale For marking issues as stale. Labeled issues will be closed soon if label is not removed. label Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale For marking issues as stale. Labeled issues will be closed soon if label is not removed.
Projects
None yet
Development

No branches or pull requests

4 participants