Unsafe permissions for datasette-insert - allows all actions without authentication
Project description
datasette-insert-unsafe
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file datasette-insert-unsafe-0.1.tar.gz
.
File metadata
- Download URL: datasette-insert-unsafe-0.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 409a3a1b3c0edd105453fb6e4f2f670ec835115bd514c67f01d51eff821e0215 |
|
MD5 | 3a3b2b4ac07e6dd1704893f17266a100 |
|
BLAKE2b-256 | 720f907e6bb013e31d53ac87c4c8092deac57f94d4a354075c47a5000d3d895e |
File details
Details for the file datasette_insert_unsafe-0.1-py3-none-any.whl
.
File metadata
- Download URL: datasette_insert_unsafe-0.1-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6faacd357236bc545729915eda48abfe252e8f3680f189a9f7393d84275cd016 |
|
MD5 | 498904c9ccb449a06229eeb1003067de |
|
BLAKE2b-256 | 7e3b7a0dfc26911e661c29ea766044e45b916c8333f2ccd9f6d42418aeee0263 |