Closed hartator closed 8 months ago
A customer followed up on this:
With @hartator, we've decided to disallow inviting existing accounts for now.
Another customer requested this:
Another customer request. @martin-serpapi .
if not another user account. do you have way to provision system account for using it on prod shared systems.
Two more customers requested this. Intercom 1 Intercom 2
Another user with this request, they had some additional notes about related features that would be helpful for their use case:
It would still leave the challenge of how to automate the creation of API Keys, as it would be appropriate to minimise or ideally eliminate manual intervention in the on-boarding process.
Support for a tenancy or end-user identifier in the APIs and a means to extract a usage report at that level would be preferable. This would avoid the provisioning step altogether.
A user requested to be able to add a teammate with "READ ONLY" permission.
A user requested to be able to add a teammate with "READ ONLY" permission.
We might do more roles as a later date.
Another user requested this:
This issue cleans up https://github.com/serpapi/public-roadmap/issues/270, https://github.com/serpapi/public-roadmap/issues/901, and https://github.com/serpapi/SerpApi/issues/2604 issues into one.
The goal is to add a team tab and allow account owners to invite teammates.
In the PR to implement this, I think we want to do all of this:
Owner
s to inviteAdmin
teammates (with just email + full name)Admin
role that can do everything anOwner
can do except removing theOwner
Owner
role will be just how our current accounts work; we just name thisOwner
roleAdmin
teammate sends them an email requesting to create an account on serpapi.comAdmin
account, we skip the/users/welcome
verification processAdmin
accounts share same billing info, stats views, and searches views asOwner
sAdmin
accounts can edit billing info ofOwner
s accountAdmin
accounts have their own API key, but it's theOwner
's plan that got charged plan searches or credits for allAdmin
API key usage;Admin
accounts don't have their own plan usageAdmin
accounts otherwise are regular users; and have their own email, full name, profile picture, and other profile detailsOwner
orAdmin
), and their API keysThat alone should solve bench of issues in addition of adding team support. For customers who want a separation between environments, we can recommend them to just add a "Production", "Development", and "Staging"-named users. For customers who want a separation between projects, we can also recommend them to just add a "Project 1", "Project 2", and "Project 3"-named users. Each user will still have strictly one API key, but they will indirectly then have several API keys through these virtual users. So, they can filter by these virtual users in their searches and stats pages, and see the data they want.
In future PRs, we would want to: