Skip to content

Unsafe permissions for datasette-insert - allows all actions without authentication

Notifications You must be signed in to change notification settings

simonw/datasette-insert-unsafe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

datasette-insert-unsafe

PyPI Changelog License

Unsafe permissions for datasette-insert - allows all actions without authentication

Installation

Install this plugin in the same environment as Datasette.

$ pip install datasette-insert-unsafe

Usage

Once installed, all actions performed using datasette-insert will be allowed without authentication.

This is not safe if you are running Datasette with datasette-insert on the public internet. You should only use this plugin if you are running Datasette on your own local machine, or on a private network.

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd datasette-insert-unsafe
python3 -mvenv venv
source venv/bin/activate

Or if you are using pipenv:

pipenv shell

Now install the dependencies and tests:

pip install -e '.[test]'

To run the tests:

pytest

About

Unsafe permissions for datasette-insert - allows all actions without authentication

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Languages