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

Editor cannot add datasets to his organization #4326

Open
ply112 opened this issue Jul 10, 2018 · 2 comments
Open

Editor cannot add datasets to his organization #4326

ply112 opened this issue Jul 10, 2018 · 2 comments
Assignees

Comments

@ply112
Copy link

ply112 commented Jul 10, 2018

CKAN Version if known (or site URL)

2.6.1

Please describe the expected behaviour

An editor should be able to add datasets to his organization.

Please describe the actual behaviour

** Scenario 1: If an editor selects his organization first, click the [+ Add Dataset] button, fill in the dataset information, click [Next: Add Data], an error message "403 Forbidden Access was denied to this resource. Unauthorized to read package" is returned.

** Scenario 2: If an editor clicks on the [Datasets] tab first, click the [+ Add Dataset] button next, enter the dataset information including organization etc. followed by clicking the [Next: Add Data] button, the dataset is created successfully.

What steps can be taken to reproduce the issue?

The issue occurs every time an editor creates a dataset for his organization by following steps in Scenario 1 above. Is there a bug somewhere? In addition, we had never encountered this problem
before the LDAP authentication was implemented.

@wardi
Copy link
Contributor

wardi commented Jul 12, 2018

Is this related to #4321 ? This issue only occurs when you enable an LDAP extension?

@wardi wardi self-assigned this Jul 12, 2018
@ply112
Copy link
Author

ply112 commented Jul 12, 2018

Not sure if this is related to #4321. The issue had never occurred before the LDAP installation but we can't tell if that's directly related to the LDAP. It's also puzzling why accessing the Dataset Creation page works well one way (Scenario 2) but not the other (Scenario 1). I'll try disabling LDAP first and see if it makes a difference.

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

2 participants