Feature Request: Time Tracking Permissions

Aberta
#342 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
22/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Domínio
authorization

Direção de pesquisa

The request is about restricting what users see in the Time & Projects feature, including organization details, projects, and customers in time reports. Start by reading issue #300, which the author says covers workspace permissions, and check how the existing permission checks are applied on the server. Before any code, the maintainers need to choose between Option 1 (a system-level permission for the whole feature) and Option 2 (per-user visibility of assigned organizations). Done means the chosen option is agreed and server-side checks block the data, not only the UI.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Issue

When you add a user, regardless of their permissions, they can see all configuration in the time tracking time and projects feature. This has the potential to leak sensitive information (such as the hourly rate) when using Windshift as a tenanted system with multiple clients accessing the admin to view work status. I know that https://github.com/Windshiftapp/core/issues/300 resolves the issues around permissions for workspaces, however that Is not the only place that sensitive information could be viewed.

Current Behaviour

  • Every user can see see all organization details and all projects
  • Every user can see all customers in the time tracking reports

Desired Behaviour

The ability to secure the sensitive information in the Time & Projects feature whether that be through feature restrictions or sub-feature permissions.

Option 1:
  • Add in general system permissions to restrict access and visibility to Time & Projects to even see it
  • Access permissions should be validated server-side to ensure data isn't leaked
Option 2:
  • Add in sub feature permissions to only allowed users see assigned organizations
  • Access permissions should be validated server-side to ensure data isn't leaked

Benefits:

This would help make it so that you can invite clients to collaborate on a workspace, but restrict details in the rest of the application that may leak information about other clients and projects and would enhance other permission controls. Option 1 seems like it would be the easiest to implement, as not ever user needs to log or review time, and would make the tool more friendly to direct client collaboration on a workspace.

Linguagem predominante
Go
Estrelas
421
Forks
50
Merge médio
17h 34min
PRs com merge (30d)
80

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de Windshiftapp/core

Todas as issues de Windshiftapp/core

Issues semelhantes

Mais issues de Go

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.