Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
metadata history viewing with user profile level #7450
metadata history viewing with user profile level #7450
Changes from all commits
ba0888f
b7f7b3e
fd48d9f
9b4b3f6
7c2d184
9e9d09a
4c22429
7709646
ac9d91c
c294463
8d13b8e
0dcfcab
deaf064
4f16b91
e2e76ff
7974efa
80eddab
f4ee086
d908561
3d172b8
9aa3b6e
62dfa16
f2a5ffa
9ac4bcf
38e31a5
a499d1e
87e2637
ead9a51
eac2007
9fa5a4b
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this change, when selecting the
RegisteredUser
access level, users will be able to see the history of metadata that they can view, while selecting other values, only the metadata they can edit.I think at least should be added some explanation in https://github.com/geonetwork/core-geonetwork/pull/7450/files#diff-e312a431007c32b1300d73d63418ba4ef8154f864ce4734d7461822738478ca9R886
Also at the end of this manual page a section describing the feature would be good: https://docs.geonetwork-opensource.org/4.2/administrator-guide/configuring-the-catalog/system-configuration/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have update both help text, also add the the section in system-configuration.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this check required because there is no
RegisteredUserOrMore
function defined I guess?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no RegisteredUserOrMore function and this is why I am adding this condition. There is a case when the user is totally not logged in, like the was access by some random internet visitor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the file with prettier formatting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The format was indeed lining with all methods. It was copy pasted. Here is what my IDE looks like. The pretty formatting will need to be at the whole file level not limited to the code that I commit.