question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement a config variable that will allow the owners to edit their datasets

See original GitHub issue

For now, we are relying on UNEDITABLE_SCHEMAS, but what if want the owners to change the datasets they own. For example, it could be: (I don’t know atm, which would take precedence)

is_editable = True

if results['schema'] in app.config['UNEDITABLE_SCHEMAS']:
    is_editable = False

if app.config['ALLOW_ADMINS_TO_EDIT'] and current_user in results['owners']:
    is_editable = True

thoughts ?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
jinhyukchangcommented, Apr 10, 2019

@verdan I understand the need, but please note that anyone can add themselves as owner and edit in this case.

0reactions
stale[bot]commented, Aug 16, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change Privileges (Data Management)—ArcGIS Pro
ArcGIS geoprocessing tool to change privileges on a dataset.
Read more >
Define Dataset Pages and Variables - TechDocs
The pages and variables for operator datasets vary by operator. You can create new variables (fields) or you can edit existing variables.
Read more >
Overview of Parameterization - Trifacta Documentation
Dataset Parameters: You can parameterize the paths to inputs for your imported datasets, creating datasets with parameters. For file-based ...
Read more >
Dataset + File Management — Dataverse.org
A dataset in Dataverse is a container for your data, documentation ... Once you have uploaded files, you will be able to edit...
Read more >
Configuration Options — CKAN 2.9.7 documentation
Allows dataset collaborators to change the owner organization of the datasets they are collaborators on. Defaults to False, meaning that collaborators with role ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found