CodeForAfrica / openAFRICA

openAFRICA aims to be largest independent repository of open data on the African continent. This repo contains the primary deployment scripts and files. Accessible at https://openafrica.net/
https://openafrica.net/
GNU General Public License v3.0
28 stars 9 forks source link

Fix/user action permissions #34

Closed thepsalmist closed 2 months ago

thepsalmist commented 3 months ago

Description

This PR introduces modifications to some of CKAN's default auth settings, such as creating/deleting groups,organizations and datasets.

  1. Only sysadmins should create groups & organizations
  2. Only users belonging to na organization should create datasets
  3. Add reCAPTCHA

Type of change

Please delete options that are not relevant.

Screenshots

Screenshot 2024-05-28 at 09 22 33

Checklist:

kilemensi commented 3 months ago

Why are we deleting Dockerfile?

@thepsalmist ☝🏽 ... why are we deleting Dockerfile and keeping Dockerfile.dev?

thepsalmist commented 3 months ago

Why are we deleting Dockerfile?

@thepsalmist ☝🏽 ... why are we deleting Dockerfile and keeping Dockerfile.dev?

We have respective Dockerfiles in contrib/. This was cleanup. I think we need Dockefle.dev

kilemensi commented 3 months ago

We have respective Dockerfiles in contrib/. This was cleanup. I think we need Dockefle.dev

It's a bit confusing @thepsalmist ... I'm looking at the docker-compose-dev.yml file and it's pointing to

      build:
        context: contrib/postgres
        dockerfile: Dockerfile

Not sure what is what. Why do we need a separate dev? Why not switch to multi-stage if we do indeed need a different dev?

thepsalmist commented 2 months ago

Moved docker multi-stage build changes to new PR tracked here #35