# Switch from Private to Public?

**URL:** <https://community.glideapps.com/t/switch-from-private-to-public/56370>\
**Category:** Ask for Help\
**Created:** [January 5, 2023, 2:17pm UTC](https://community.glideapps.com/t/switch-from-private-to-public/56370 "2023-01-05T14:17:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Gjode](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daniel_gjode/32/47347_2.png) [@Daniel\_Gjode](https://community.glideapps.com/u/Daniel_Gjode)\
**Post date:** [January 5, 2023, 2:17pm UTC](https://community.glideapps.com/t/switch-from-private-to-public/56370/1 "2023-01-05T14:17:02Z")

</div>

Hi Gliders,

I have an app that is currently set to Private.  
Currently I create new users, AND assign a role to them, and then they can access the app.

Can I switch my app to Public (with sign in using email) have the first screen (onboarding) save a “Role” and still have my app work like when it was Private?

Are Roles intact after I do this switch?

 ![Screenshot 2023-01-05 at 15.15.12](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/8/782ebca8119d1da9fcd3bc9ac8dc1d2e3e2f7434.png)

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [January 5, 2023, 2:25pm UTC](https://community.glideapps.com/t/switch-from-private-to-public/56370/2 "2023-01-05T14:25:35Z")

</div>

> [@Daniel\_Gjode](#):
>
> Can I switch my app to Public (with sign in using email) have the first screen (onboarding) save a “Role” and still have my app work like when it was Private?

You can, but there is a catch.  
Users can only assign roles that they already have. A new user won’t have any role, so they can’t assign any role. The way to get around this would be with an external integration tool such as Make or Zapier. At the end of the onboarding, trigger a webhook with the appropriate payload (RowID, Role), and then set the role via an API call.

> [@Daniel\_Gjode](#):
>
> Are Roles intact after I do this switch?

Yes.

---

<div class="post-metadata">

**Author:** ![Daniel\_Gjode](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daniel_gjode/32/47347_2.png) [@Daniel\_Gjode](https://community.glideapps.com/u/Daniel_Gjode)\
**Post date:** [January 5, 2023, 2:28pm UTC](https://community.glideapps.com/t/switch-from-private-to-public/56370/3 "2023-01-05T14:28:15Z")

</div>

Thanks Darren,

And to your point, is it not even possible to programmatically set a Role – Say, if I initially want all to have the same role “New User” or similar.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [January 5, 2023, 2:33pm UTC](https://community.glideapps.com/t/switch-from-private-to-public/56370/4 "2023-01-05T14:33:29Z")

</div>

Depends what your data source is.  
Glide Tables - no way that I can think of.  
Google Sheets - yes, you could use an array formula.

---

<div class="post-metadata">

**Author:** ![Daniel\_Gjode](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daniel_gjode/32/47347_2.png) [@Daniel\_Gjode](https://community.glideapps.com/u/Daniel_Gjode)\
**Post date:** [January 5, 2023, 2:47pm UTC](https://community.glideapps.com/t/switch-from-private-to-public/56370/5 "2023-01-05T14:47:38Z")

</div>

Dang! I’m using Glide Tables.  
I’ll dabble with the Zapier approach.

Thanks Darren
