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

User authentication for doc editing and creation on public layer. #864

Closed
wants to merge 2 commits into from

Conversation

decheng-zhang
Copy link
Collaborator

Now if a doc is on the public layer or layers start with "public_", anybody can create this doc without going through submission db, but people without admin privilege can only edit docs created by themselves. Editing other peoples document will still going through the submission_db flow.
I realize there may be some security concern, therefore, this pull request is just an experiment and we will discuss this issue with DEV team, before merging and solving this issue.

…privilage can only editing created by themselves and editing other peoples document will still going through the submissiondb flow
@ahayes
Copy link
Member

ahayes commented Oct 25, 2021

As I recall, there were some security issues in the design of the code in this pull request. It should not be merged as is.

@ahayes ahayes marked this pull request as draft April 30, 2022 03:40
@billingb
Copy link
Collaborator

billingb commented Oct 4, 2022

@ahayes It looks to me like the security issue is checking the owner information on the submitted doc rather then the current doc. Does that look right to you? Would switching to getting owner info from current doc make this PR acceptable?

@ahayes
Copy link
Member

ahayes commented Oct 5, 2022

This will get revisited as part of issue #1085.

@ahayes ahayes closed this Oct 5, 2022
@ahayes ahayes added Wontfix Maintainers have considered the issue and decided that it is not something they wish to address. Duplicate This issue is the same as, or would share a solution with, another issue. and removed Wontfix Maintainers have considered the issue and decided that it is not something they wish to address. labels Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate This issue is the same as, or would share a solution with, another issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants