This is in preparation of presenting different messages to users, when their
subscription should be renewed, or when they should buy a (new)
subscription.
- updated call to pass multiple roles at once
- updated call to pass single role with keyword arg
This requires Pillar 87afbc52f6c7d5eb63f0da745625d05b01e81783
All users who get 'subscriber' role automatically get 'flamenco-user' and
'attract-user', and when 'subscriber' is revoked, so are
'{flamenco,attract}-user'.
This variable is set to True iff the user has a subscriber/demo/admin role.
It's an attempt to get some of the Cloud subscription specific stuff out
of Pillar.
This endpoint can be queried on a daily basis to retrieve cloud usage stats. For assets and comments we take into considerations only those who belong to public projects.