https://github.com/simonw/datasette-insecure-auth-as-root
Extremely unsafe plugin: every Datasette visitor is treated as the root user
https://github.com/simonw/datasette-insecure-auth-as-root
Last synced: 4 months ago
JSON representation
Extremely unsafe plugin: every Datasette visitor is treated as the root user
- Host: GitHub
- URL: https://github.com/simonw/datasette-insecure-auth-as-root
- Owner: simonw
- License: apache-2.0
- Created: 2024-03-21T00:11:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-21T00:14:26.000Z (over 1 year ago)
- Last Synced: 2024-10-07T13:58:36.366Z (9 months ago)
- Language: Python
- Size: 14.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# datasette-insecure-auth-as-root
[](https://pypi.org/project/datasette-insecure-auth-as-root/)
[](https://github.com/simonw/datasette-insecure-auth-as-root/releases)
[](https://github.com/simonw/datasette-insecure-auth-as-root/actions/workflows/test.yml)
[](https://github.com/simonw/datasette-insecure-auth-as-root/blob/main/LICENSE)Extremely unsafe plugin: every Datasette visitor is treated as the root user
## Installation
Install this plugin in the same environment as Datasette.
```bash
datasette install datasette-insecure-auth-as-root
```
## UsageUsage instructions go here.
## Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
```bash
cd datasette-insecure-auth-as-root
python3 -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
```bash
pip install -e '.[test]'
```
To run the tests:
```bash
pytest
```