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

Make record editable #112

Closed
wants to merge 4 commits into from
Closed

Conversation

gcampanile
Copy link
Contributor

It adds the new action setEditable to the list of actions in Administration page. The user can select one or more records and set them editable even if they come from another repository; this allows to handle editability of single records while the catalog.enableEditForAllPubMethods parameter of gpt.xml applies to all records. The function changes the publication method of each selected record, setting it to "editor" as if it was created with the geoportal's editor. A useful enhancement would be to separate the pubmethod from the editable property by adding another flag in the database and use this for editable property of a record.

The setEditable action sets a record to be editable.
The setEditable method sets the publication method of a record to "editor" so that it can be edited.
Added setEditable to the list of possible actions
pandzel-zz pushed a commit that referenced this pull request Apr 13, 2016
@pandzel-zz
Copy link

Merged using command line.

@pandzel-zz pandzel-zz closed this Apr 13, 2016
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

Successfully merging this pull request may close these issues.

2 participants