Ticket #2422 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

Paster rights command appears broken

Reported by: ross Owned by: kindly
Priority: awaiting triage Milestone:
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none


Reported in IRC by @floapps

In previous ckan versions i could use paster commands to remove reader rights from visitors on all packages and this would then throw the user to login screen when trying to see a dataset but, when i did this in ckan 1.7, i could still see all datasets as a visitor

Using http://docs.ckan.org/en/latest/authorization.html#permissions-publisher-mode

paster rights remove visitor reader package:all

Also has an empty list of roles in config for default visitor roles

I tested on my local install and could replicate with that command doing nothing. Neither affects existing or newly created datasets.

Change History

comment:1 Changed 2 years ago by seanh

  • Status changed from new to closed
  • Resolution set to invalid

Closing because I'm not able to reproduce and it turned out floapps had publisher auth on which was overriding his rights auth

Note: See TracTickets for help on using tickets.