Skip to content

Refactoring of translation server #46

@ondrejbartas

Description

@ondrejbartas
  • add Project model with name:string, highlights:boolean:default:true, api_key:string
  • Project.api_key is generated same way as Users.api_key
  • add relation key, locale, location to belongs_to project
  • add migration which creates Default project and add all current keys, locales and locations to it
  • update validations of uniqueness for key, locale, location to be scoped under project
  • update API so it will resolve project data based on API key
  • update Translation cache which will be stored with project id
  • Add frontend for managing projects
  • Project can have assigned users
  • User is person who can edit project data
  • Admin is User with admin rights and can modify Projects and assign Users
  • User cannot access API_KEY of project
  • API Do not store highlights and locations when !Project.highlights?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions