Ticket #2550 (accepted enhancement) — at Version 3

Opened 23 months ago

Last modified 20 months ago

User types

Reported by: ross Owned by: ross
Priority: awaiting merge Milestone: datahub-july
Component: ckan Keywords:
Cc: ross Repository: ckan
Theme: none

Description (last modified by ross) (diff)

Requirements


In the data hub plugin we require the ability to differentiate users between those that have paid for a service, and those that haven't. The distinction isn't boolean as there may be levels of service for paid users, so it may be that we need a 'type' of user where there are various grades of 'paid' which are likely to be strings (specific to the data hub).

Required interface


Once changes have been made to the user schema, for a given user we want to be able to:

  • determine if they have a paid or a free account, and
  • get a string name of the type of paid account.

Care should be taken to ensure that the 'paid' status of the user cannot be set through the API and only by the datahub plugin.

User Stories


None

Tasks


[ ] Tests

[ ] Plugin based migration

[ ] Code

[ ] Model

[ ] API

[ ] Documentation

Estimates


Change History

comment:1 Changed 23 months ago by ross

  • Milestone changed from ckan-v1.8 to datahub-july

comment:2 Changed 23 months ago by ross

  • Owner changed from kindly to ross
  • Status changed from new to accepted

Clarify

comment:3 Changed 22 months ago by ross

  • Description modified (diff)
Note: See TracTickets for help on using tickets.