Ticket #1827 (new enhancement)

Opened 2 years ago

Last modified 23 months ago

'Register' link should be hidden if you not allowed to register

Reported by: dread Owned by:
Priority: major Milestone: ckan-backlog
Component: ckan Keywords:
Cc: [email protected] Repository: ckan
Theme: none

Description

I have just deny visitors the create-user permission:
sudo -u ckanstd paster --plugin=ckan roles deny reader create-user -c /etc/ckan/std/std.ini
sudo -u ckanstd paster --plugin=ckan roles deny anon_editor create-user -c /etc/ckan/std/std.ini

and after restarting, the register link is *not* hidden, but now when you access the register page, it shows you this message "Unauthorized to create a user" (when not logged in). But anyway that is an improvement.

Change History

comment:1 Changed 23 months ago by seanh

  • Milestone set to ckan-backlog
Note: See TracTickets for help on using tickets.