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

How do I restrict user/group access to a particular result area? #58

Open
chavu opened this issue Oct 1, 2018 · 8 comments
Open

How do I restrict user/group access to a particular result area? #58

chavu opened this issue Oct 1, 2018 · 8 comments

Comments

@chavu
Copy link

chavu commented Oct 1, 2018

How do I restrict user/group access to a particular logframe result area?

@martinburchell
Copy link
Contributor

Are you asking if it is possible to allow users to edit or view only certain parts of the logframe?

The permissions that are currently available can be controlled through the admin interface at /admin/auth/group/ and /admin/contacts/user/

The proper way to do this would be to create a group that has the permissions you wanted and assign users to this group

@chavu
Copy link
Author

chavu commented Oct 2, 2018

Yes I'm asking what permissions to give a particular user groupA to access only a particular result area and it's child nodes. For example with structure below, how can I give user groupA access only to Output 2.2 and its child outcomes and activities. Which permission in the permission list to I pick.

Goal 1
Goal 2
-- Output 2.1
-- Output 2.2
-- -- Outcome 2.2.1
-- -- -- Activity 2.2.1.1
-- -- -- Activity 2.2.1.2
-- -- Outcome 2.2.2
-- Output 2.2
Goal 3

@martinburchell
Copy link
Contributor

OK that makes sense. Currently we don't have that kind of control on permissions so I'll make this a feature request.

@chavu
Copy link
Author

chavu commented Oct 3, 2018

Ok. Thanks. Do you know when I should expect this feature.

@martinburchell
Copy link
Contributor

We currently have neither funding nor spare capacity to develop Kashana. Pull requests are welcome though!

@chavu
Copy link
Author

chavu commented Oct 3, 2018

How much funding is required to resolve the 10 issues I logged in? You can send me private email/message

@martinburchell
Copy link
Contributor

Hi @chavu . It would be great to hear about what your organisation is doing with Kashana and how we can help. I don't think GitHub allows you to send private messages and I can't see an email address for you. You can get in touch via the email at http://kashana.org or http://www.aptivate.org/en/contact/

@martinburchell
Copy link
Contributor

This sounds like a job for django-guardian (https://github.com/django-guardian/django-guardian)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants