# Invite other account

**URL:** <https://community.auth0.com/t/invite-other-account/9047>\
**Category:** Get Help\
**Tags:** account\
**Created:** [December 22, 2017, 3:55am UTC](https://community.auth0.com/t/invite-other-account/9047 "2017-12-22T03:55:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![joe1](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@joe1](https://community.auth0.com/u/joe1)\
**Post date:** [December 22, 2017, 3:55am UTC](https://community.auth0.com/t/invite-other-account/9047/1 "2017-12-22T03:55:34Z")

</div>

I have a working scenario in which users signup/signin correctly and they have access to some features. Is there a way to invite a different user (using his email) and access the same features?

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [December 22, 2017, 8:24pm UTC](https://community.auth0.com/t/invite-other-account/9047/2 "2017-12-22T20:24:57Z")

</div>

The above information is insufficient to provide an answer. You should clarify your situation and include additional context information.

---

<div class="post-metadata">

**Author:** ![joe1](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@joe1](https://community.auth0.com/u/joe1)\
**Post date:** [December 27, 2017, 10:02pm UTC](https://community.auth0.com/t/invite-other-account/9047/3 "2017-12-27T22:02:53Z")

</div>

Thanks for reply.  
We are using AWS to access specific DB resources. When an account is made through Auth0, that account is able to read/write information from AWS (DynamoDB row based restriction).  
What I want is to be able invite an other email to ONLY read information from the same account. Basically the main Auth0 account will be considered as Admin then starting from there I should be able to invite other emails that can only READ data.

I hope it makes sense.

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [December 28, 2017, 5:25pm UTC](https://community.auth0.com/t/invite-other-account/9047/4 "2017-12-28T17:25:50Z")

</div>

I’m assuming you’re using delegation with AWS roles and if that’s the case unless I missed something (which is likely as I’m not very experienced with AWS) you would have a role that allows read/write and another that allows only read.

You can then have a rule as shown in this [documentation](https://auth0.com/docs/integrations/aws-api-gateway/delegation/part-4#enforce-role-assignment) that performs the role assignment depending on the user that is currently authenticating. A possible way to know which role the current user should be assigned would be to maintain that information as part of the user `app_metadata`. In conclusion, at creation time you would set information in `app_metadata` that would allow to know which privileges the user has.

---

<div class="post-metadata">

**Author:** ![joe1](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@joe1](https://community.auth0.com/u/joe1)\
**Post date:** [December 28, 2017, 10:39pm UTC](https://community.auth0.com/t/invite-other-account/9047/5 "2017-12-28T22:39:13Z")

</div>

Thanks for reply.

What you mentioned is what you currently use in some ways. Practically we have 2 roles now: one which is Admin (Read write role) and one Read role. Problem is that each account with Admin role has a unique auth0|id , and that ID is tied of the DynamoDB row based restriction…practically only that auth0|id can access the database information. If I create an new account with Read role permission they won’t be able to access the same data as the Admin auth0|id.

Maybe there is a way to link accounts or to give more permissions at delegation level…  
I hope it makes sense.

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [December 29, 2017, 10:23pm UTC](https://community.auth0.com/t/invite-other-account/9047/6 "2017-12-29T22:23:01Z")

</div>

Okay, if I understood correctly the permission in AWS use the Auth0 user identifier to check if the user is allowed to access particular data or not. Given that relationship, at first glance, I don’t see a way to give read-only permissions to a different user account as it is a requirement of the service to have unique user identifiers within a single tenant so that other account would have a different identifier.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:57am UTC](https://community.auth0.com/t/invite-other-account/9047/7 "2018-03-02T05:57:54Z")

</div>


