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

Modifications in Organizations #1788

Closed
aitormagan opened this issue Jun 23, 2014 · 8 comments
Closed

Modifications in Organizations #1788

aitormagan opened this issue Jun 23, 2014 · 8 comments
Assignees

Comments

@aitormagan
Copy link
Contributor

Hello!

I've found two problems with the organizations module. The first of all is that when you delete an organization you can access the organization via the URL given. The organization does not appear in the list of organizations anymore, but you are able to see it, if you know its name. What I expect is a 404.

The second one is a little bit tricky. Here you have the steps to reproduce the bug:

  1. Create an organization
  2. Only the user that creates the organization is given the option to create datasets for this organization in the page to create datasets.
  3. Add a user to this organization. You must choose either the Edit or the Admin role.
  4. This user is given the option to create datasets for this organization in the page to create datasets.
  5. Delete the user form the organization.
  6. When creating a dataset, the user can see the organizations from which he/she has been deleted. Nevertheless, an error arises when the "Next" button is clicked.

In addition, when users are deleted from an organization, they can still see the list of private datasets. However, they cannot open them.

@joetsoi
Copy link
Contributor

joetsoi commented Jun 24, 2014

are you logged in a sysadmin?

@joetsoi joetsoi self-assigned this Jun 24, 2014
@aitormagan
Copy link
Contributor Author

No. I use the sysadmin to create the organisation and insert the User on it. However, the user introduced in the organisation is not a sysadmin.

@aitormagan
Copy link
Contributor Author

In addition, I've found another error related to this one. When you introduce a user in an organization and you delete him/her later, the user can see the list of private datasets of the organization in the organization main page (/organization/XYZ). However, the user cannot access the dataset and an error is shown.

@Aaron-M
Copy link

Aaron-M commented Oct 17, 2014

Maybe some elements in common with these other issues?
#1901
#1902
#1918

@amercader amercader added this to the CKAN 2.4 milestone Oct 22, 2014
@amercader
Copy link
Member

Maybe organization_list_for_user returning orgs that you no longer belong to?

@aitormagan
Copy link
Contributor Author

Yeah! I suppose it's related with #1918 (at least the second error)

@aitormagan
Copy link
Contributor Author

And related with the first issue (the one where is explained that you can access an organization even if it's deleted): You can also access the organization even if you are not logged once it's deleted.

@TkTech TkTech closed this as completed May 10, 2016
@davidread
Copy link
Contributor

This issue was closed due to inactivity. Feel free to reopen if you have more feedback or are interested it working on it

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

No branches or pull requests

6 participants