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

[Enhancement] Filter feature by more than 1 user or group #580

Closed
jlstanus opened this issue May 10, 2017 · 6 comments
Closed

[Enhancement] Filter feature by more than 1 user or group #580

jlstanus opened this issue May 10, 2017 · 6 comments
Assignees
Labels
enhancement feedback stale This ticket might be closed soon
Milestone

Comments

@jlstanus
Copy link

jlstanus commented May 10, 2017

One feature that would be very interesting is to filter feature with more than one user or group.

In my case, i can reuse the same DB in many projects to show the form answers to one group without answering rights.

The users could be comma separated. Then you could simply use .split(",") to get users.
Looks not too difficult, maybe i m wrong.

Thanks

@mdouchin
Copy link
Collaborator

You can also put your users in groups (in lizmap web client admin panel) and use groups instead of users filtering. To do so, use the group ids (and not labels) to fill the field on which the filtering is based.

@jlstanus
Copy link
Author

jlstanus commented May 10, 2017

In my project, i have about 1000 features and 100 users in 4 groups. Each user from 1 group have to answer to a set af features that others are not allowed.

  • 1 filtred user of each group have to answer to 2 questions (2 fields) in 1 feature.
  • The answers can be read by 1 user of other groups

So i'd need to make 4 projects with the same table shared and duplicate user field for each project.

To do so, use the group ids (and not labels) to fill the field on which the filtering is based.
Do you mean integer (group_id) in place of string (group_name)?

EDIT: So i should create 1000 groups with your group solution.

Thanks

@nboisteault nboisteault changed the title [Enhancement] Filter feature by more than 1 user [Enhancement] Filter feature by more than 1 user or group Jan 27, 2020
@nboisteault nboisteault self-assigned this Jan 27, 2020
@mdouchin mdouchin assigned mdouchin and unassigned nboisteault Dec 19, 2022
@mdouchin mdouchin added this to the 3.7.0 milestone Dec 19, 2022
@saturdayevening
Copy link

I was looking for this too. Thanks for working on it.

@Gustry Gustry modified the milestones: 3.7.0, 3.7.1 Dec 13, 2023
@Gustry Gustry modified the milestones: 3.7.1, 3.7.2, 3.7.3 Jan 17, 2024
@Gustry
Copy link
Member

Gustry commented Jan 18, 2024

@mdouchin You have changed the milestone to 3.7, any news on this ?
Can we change the milestone back ?

@Gustry Gustry modified the milestones: 3.7.3, 3.7.4 Feb 7, 2024
@Gustry Gustry modified the milestones: 3.7.4, 3.7.5, 3.7.6 Feb 26, 2024
@Gustry Gustry modified the milestones: 3.7.6, 3.7.7 Mar 22, 2024
@Gustry Gustry modified the milestones: 3.7.7, 3.7.8 May 14, 2024
@Gustry Gustry modified the milestones: 3.7.8, 3.7.9 May 27, 2024
@Gustry Gustry modified the milestones: 3.7.9, 3.7.10 Jul 4, 2024
@Gustry Gustry modified the milestones: 3.7.10, 3.7.11 Aug 1, 2024
@Gustry Gustry modified the milestones: 3.7.11, 3.7.12 Oct 2, 2024
@Gustry
Copy link
Member

Gustry commented Oct 2, 2024

@jlstanus Can you try latest 3.8 release ?

Linked to #4559

@Gustry Gustry added the feedback label Oct 2, 2024
@Gustry Gustry modified the milestones: 3.7.12, 3.8.3 Oct 2, 2024
Copy link

github-actions bot commented Nov 1, 2024

This issue is missing some feedbacks. 👻
Please have a look to the discussion, thanks. 🦎

@github-actions github-actions bot added the stale This ticket might be closed soon label Nov 1, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement feedback stale This ticket might be closed soon
Projects
None yet
Development

No branches or pull requests

5 participants