Giter Club home page Giter Club logo

docs.formkiq.com's People

Contributors

formkiqmike avatar mfriesen avatar reganwolfrom avatar

Watchers

 avatar  avatar  avatar

docs.formkiq.com's Issues

Add Core Custom Permissions Tutorial

Based on a FormKiQ Core customer need to provide access for most users to submit docs to FormKiQ, and even have access to specific documents, while not providing read or write access to other documents on the site.

The idea is as follows:

  1. Deploy FormKiQ Core
  2. Log into FormKiQ Console and create an API Key with admin permissions for site 'default'
  3. Create a Node.js Docker container to create an API for interacting with FormKiQ
  4. Create a Cognito group called "submitters"
  5. Create a new user in Cognito with an email address you have access to (need to confirm the actual flow)
  6. Add Cognito authentication to the Node.js code
  7. Add an endpoint to upload a document to Node.js, allowing any Cognito-authenticated user to upload a document to the default site using the API key; this endpoint should include the following metadata: "approvalRequired:true","submittedByUser:${EMAIL}","submittedDate:${NOW}","approvedByUser:null","approvedDate:null"
  8. Add an endpoint to search for documents with "approvalRequired:true", but only available to users with read access to site 'default' -> need to determine how best to do this
  9. Add an endpoint to set approval to true or false, and add approvedByUser and approvedDate metadata

Add example for /queryText

highlight: {
fields: {
'content': {
fragment_size: 100,
number_of_fragments: 5
},
'tags.description': { number_of_fragments: 0 },
'tags.matternumber': { number_of_fragments: 0 },
'tags.mattername': { number_of_fragments: 0 }
}
},
query: {
bool: {
must: [{
query_string: {
query: 'Complaint',
fields: ['content', 'tags.description', 'tags.matternumber', 'tags.mattername']
}
}]
}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.