# Can an Admin user receive accept and decline requests from non-admin users?

**URL:** <https://forum.adalo.com/t/can-an-admin-user-receive-accept-and-decline-requests-from-non-admin-users/22997>\
**Category:** Get Help\
**Created:** [February 4, 2022, 2:27pm UTC](https://forum.adalo.com/t/can-an-admin-user-receive-accept-and-decline-requests-from-non-admin-users/22997 "2022-02-04T14:27:57Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![spragginsdesigns](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/spragginsdesigns/32/14213_2.png) [@spragginsdesigns](https://forum.adalo.com/u/spragginsdesigns)\
**Post date:** [February 4, 2022, 2:27pm UTC](https://forum.adalo.com/t/can-an-admin-user-receive-accept-and-decline-requests-from-non-admin-users/22997/1 "2022-02-04T14:27:57Z")

</div>

I have been asking several questions lately, and I love this community. So thank you for all your help.

Is there a way to say the “ask for something” button pressed, which then goes to the admin user (User type True/False “Is Admin” so the Admin screens show only for that one user), and then that “ask for something” gets sent to a list on the admin screen where there is a simple list?

Thank you! I usually write code to build websites in HTML5 to React, so Adalo is still a little new. I would love to write some custom JavaScript for some functions, too, if that is possible.

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [February 4, 2022, 2:39pm UTC](https://forum.adalo.com/t/can-an-admin-user-receive-accept-and-decline-requests-from-non-admin-users/22997/2 "2022-02-04T14:39:16Z")

</div>

Hi Austin,

When the button pressed it creates the record in your collection and you have created a true/false property like Accepted right? Then you can show a list to the Admin and connect it to that collection and add a button or a toggle to the list to accept it. And then you can add a filter to the list that user see as accepted\> is true. Then when only the Admin accept it shows for the user or you can remove the filter and add a text like pending and a visibility condition if Accepted\> is false and another text like Accepted and a visibility condition if Accepted\>is true. Then make that texts touching and group them.

> [@spragginsdesigns](#):
>
> I would love to write some custom JavaScript for some functions

For this there’s a component called Arbitrary JavaScript that Pragmaflow created.

> [@Adalo Javascript Component](https://forum.adalo.com/t/adalo-javascript-component/21334):
>
> Here is a component that will let you write your own code (only if you want) in Adalo. This is like the Markdown or HTML components, but this works on Javascript instead of Markdown or HTML. [[Adalo+Javascript - Component for writing little scripts] ](https://www.youtube.com/watch?v=FgpLr2V3f8Y)[https://adalo.pragmaflowservers.com/install-component](https://adalo.pragmaflowservers.com/install-component)

Here’s a video that how you can install that components from that marketplace.

[![](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/9/2/924c138bdf5ae312d309b6087f2f6767497f98e7.jpeg "PragmaFlow's Adalo Marketplace Reopened") ](https://www.youtube.com/watch?v=4mo_u5EdEWw)

[https://adalo.pragmaflowservers.com/install-component](https://adalo.pragmaflowservers.com/install-component)

Thank you

---

<div class="post-metadata">

**Author:** ![spragginsdesigns](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/spragginsdesigns/32/14213_2.png) [@spragginsdesigns](https://forum.adalo.com/u/spragginsdesigns)\
**Post date:** [February 4, 2022, 3:10pm UTC](https://forum.adalo.com/t/can-an-admin-user-receive-accept-and-decline-requests-from-non-admin-users/22997/3 "2022-02-04T15:10:49Z")

</div>

Hey Dilon! That is my middle name by the way, and thank you for all your help!

So I know about the Arbitrary JavaScript from GitHub, but I haven’t seen the video on how to install it, since it’s a custom component.

Here is what I have for Admin Collection then users:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/8/b/8b92528815f07222d001071d2a642cf572c9def3.png)

Users:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/7/9/79ce93359c23984269d576eb894a64ed885691a7.png)

---

<div class="post-metadata">

**Author:** ![spragginsdesigns](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/spragginsdesigns/32/14213_2.png) [@spragginsdesigns](https://forum.adalo.com/u/spragginsdesigns)\
**Post date:** [February 4, 2022, 3:12pm UTC](https://forum.adalo.com/t/can-an-admin-user-receive-accept-and-decline-requests-from-non-admin-users/22997/4 "2022-02-04T15:12:40Z")

</div>

Now, this was made so only one user could reach this Admin button, and Admin screen as well as an Enterprise Team Screen:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/f/9/f99d23f1f608d81eeefdc2db5d91e06f4d0ebc64.png)

I hope I have this right, I am showing it in 1 hour to show I can make it, and I was instructed to ask the forums which I’ve done many times. And you guys are always a delight! I hope I can give back like I do on GitHub so much here one day.

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [February 4, 2022, 3:22pm UTC](https://forum.adalo.com/t/can-an-admin-user-receive-accept-and-decline-requests-from-non-admin-users/22997/5 "2022-02-04T15:22:03Z")

</div>

I think you don’t need a Admin collection. You can create a true/false property to know if that user is a Admin or not.

You want to accept requests that User’s created right? I think you have a collection to add requests for users. Then you can connect that list to the list that in the Admin screen.

---

<div class="post-metadata">

**Author:** ![spragginsdesigns](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/spragginsdesigns/32/14213_2.png) [@spragginsdesigns](https://forum.adalo.com/u/spragginsdesigns)\
**Post date:** [February 4, 2022, 3:26pm UTC](https://forum.adalo.com/t/can-an-admin-user-receive-accept-and-decline-requests-from-non-admin-users/22997/6 "2022-02-04T15:26:57Z")

</div>

So just add a relationship from Admin Collections to Users? Which of the three would work? I did the second one since only one user should be admin and view these.

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [February 4, 2022, 3:42pm UTC](https://forum.adalo.com/t/can-an-admin-user-receive-accept-and-decline-requests-from-non-admin-users/22997/7 "2022-02-04T15:42:24Z")

</div>

You can create a true/false property like Admin? in the Users Collection and you can open the users collection and open the record that you need to be as the Admin and set true for that property. And then you can add the visibility condition to the List If Logged in user\>Admin?\>is true.

---

<div class="post-metadata">

**Author:** ![spragginsdesigns](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/spragginsdesigns/32/14213_2.png) [@spragginsdesigns](https://forum.adalo.com/u/spragginsdesigns)\
**Post date:** [February 4, 2022, 3:48pm UTC](https://forum.adalo.com/t/can-an-admin-user-receive-accept-and-decline-requests-from-non-admin-users/22997/8 "2022-02-04T15:48:29Z")

</div>

Do you have a Discord by any chance? Mine is `Agent_Shadow99#0830`.

I would love to chat with you. I am watching your video. I am going to have to remove you from the group for just a few hours right now too btw.

I just want to get this working just like that video, so hopefully I do it right. God Bless you Dilon. I want to chat because you are honest, kind, and full of knowledge I want to learn.

---

<div class="post-metadata">

**Author:** ![spragginsdesigns](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/spragginsdesigns/32/14213_2.png) [@spragginsdesigns](https://forum.adalo.com/u/spragginsdesigns)\
**Post date:** [February 4, 2022, 5:10pm UTC](https://forum.adalo.com/t/can-an-admin-user-receive-accept-and-decline-requests-from-non-admin-users/22997/9 "2022-02-04T17:10:36Z")

</div>

It’s just so strange. I follow your video and learn more about Adalo every day. But when I follow your video, it works for you and not for me. Yet I did everything the same…  
And I do not want you to spend too much time helping me. So thank you for the time you have spent with me.

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [February 4, 2022, 6:01pm UTC](https://forum.adalo.com/t/can-an-admin-user-receive-accept-and-decline-requests-from-non-admin-users/22997/10 "2022-02-04T18:01:32Z")

</div>

You mean condition not working? Is it possible to add a video to see your setup or some screenshots or maybe a cloneable app?

---

<div class="post-metadata">

**Author:** ![spragginsdesigns](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/spragginsdesigns/32/14213_2.png) [@spragginsdesigns](https://forum.adalo.com/u/spragginsdesigns)\
**Post date:** [February 4, 2022, 6:53pm UTC](https://forum.adalo.com/t/can-an-admin-user-receive-accept-and-decline-requests-from-non-admin-users/22997/11 "2022-02-04T18:53:29Z")

</div>

I am trying to add you, but I am not the team leader. Is there a way to collab on Discord or slack or anything? I am working on adding you with a clone but that doesn’t seem to work either.

---

<div class="post-metadata">

**Author:** ![spragginsdesigns](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/spragginsdesigns/32/14213_2.png) [@spragginsdesigns](https://forum.adalo.com/u/spragginsdesigns)\
**Post date:** [February 4, 2022, 7:14pm UTC](https://forum.adalo.com/t/can-an-admin-user-receive-accept-and-decline-requests-from-non-admin-users/22997/12 "2022-02-04T19:14:54Z")

</div>

Finally! I found a way to invite you so you are invited as a team member!!! Thank you.

---

<div class="post-metadata">

**Author:** ![spragginsdesigns](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/spragginsdesigns/32/14213_2.png) [@spragginsdesigns](https://forum.adalo.com/u/spragginsdesigns)\
**Post date:** [February 4, 2022, 9:23pm UTC](https://forum.adalo.com/t/can-an-admin-user-receive-accept-and-decline-requests-from-non-admin-users/22997/13 "2022-02-04T21:23:29Z")

</div>

Did you ever figure it out? I am still working on it on the original, but I cannot get it to work. I’ll keep trying for another 3 1/2 hours.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [February 14, 2022, 9:24pm UTC](https://forum.adalo.com/t/can-an-admin-user-receive-accept-and-decline-requests-from-non-admin-users/22997/14 "2022-02-14T21:24:26Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
