jacktilford / dctc-pickle

issue repo for CourtReserve for pickleball at DCTC
0 stars 0 forks source link

Update admin privileges #5

Open jacktilford opened 1 year ago

jacktilford commented 1 year ago

(from Jim Sterken) A new request: would you please give MikeB, JohnL, MikeW, DebbieW, and me a higher level of rights so we can each delete court bookings belonging to other people? This came up a few days ago when I was talking to MikeB. Someone came up and wanted us to know they had reserved a court but could not figure out how to delete the reservation. I expect that comes up regularly and it would be nice during crowded times if some extra people could correct bad bookings.

jacktilford commented 1 year ago

Administrators (MikeW, DebbieW, JackT) already have the right to delete reservations in both the website and the app. In the app, from the admin panel, go to "reservations -> courts" and then navigate to the reservation in question. There is a big red cancel button that does the job. In the website, it's "reservations -> list", select the "courts" tab, find the reservation, and click on the black X at the end of the line.

jacktilford commented 1 year ago

For MikeB, JohnL, and JimS: it is possible to create a "sub-admin" user and grant a variety of privileges, including the ability to cancel a reservation. Unfortunately there is no way to mark an existing user as a sub-admin. Instead, one must create a new sub-admin user with the same email as an existing users, and the system links the two. I did this for Jim and it seems to work; his name appears only once in the member list. I will do the same for Mike and John after Jim confirms he can delete reservations.

jimsterken commented 1 year ago

Hello Jack, NotAllowedToEdit

I asked Gwynn to make a reservation today at 7pm on Court 5. She did that, but I am not allowed to edit it. See the screenshot. I tried both from Windows./Chrome and from my iPhone.

jimsterken commented 1 year ago

Starting today, I'm getting notifications when new players ore events are added. I suspect this is related to giving me extra admin rights. However, I just checked, and I cannot delete Gwynn's 7pm reservation for tonight. I've attached the notification message I'm receiving now. NewNotificationEmail

jacktilford commented 1 year ago

OK, I turned off notifications for you (I presume that's what you want - you will get inundated otherwise). My morning is full, but this afternoon I'll figure out why you can't delete reservations.

Jack

From: Jim Sterken @.> Sent: Wednesday, February 22, 2023 8:04 AM To: jacktilford/dctc-pickle @.> Cc: jacktilford @.>; Author @.> Subject: Re: [jacktilford/dctc-pickle] Update admin privileges (Issue #5)

Starting today, I'm getting notifications when new players ore events are added. I suspect this is related to giving me extra admin rights. However, I just checked, and I cannot delete Gwynn's 7pm reservation for tonight. I've attached the notification message I'm receiving now. [NewNotificationEmail]https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F31393805%2F220498973-d4935806-6715-46d1-81cc-f40a9ac12fdb.jpg&data=05%7C01%7C%7Cb6de48692eb94d51596808db14ee6cb5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638126786476638988%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=1XJig2N1fhXL18d5lU1U66Bo0NCvCmifA1lD09bkLAw%3D&reserved=0

- Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjacktilford%2Fdctc-pickle%2Fissues%2F5%23issuecomment-1440314398&data=05%7C01%7C%7Cb6de48692eb94d51596808db14ee6cb5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638126786476638988%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=D6vTTAR3fkbeQ7wMfvfTkkid9f6ZSIxLUszkLbG1nL8%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACMJ2LHPLSMOYC47NAJ2NV3WYY2HLANCNFSM6AAAAAAVDGZTYU&data=05%7C01%7C%7Cb6de48692eb94d51596808db14ee6cb5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638126786476638988%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=o3S%2FTlbwCjLwRk6L9Gmm6t9VMdAO0S231D7h0wGlLPg%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>

jimsterken commented 1 year ago

Jack, thanks.

No rush on making these changes. I'm just trying to report the glitches I see in concise ways so you can address them whenyou have time.

Jim

On Wed, Feb 22, 2023 at 8:18 AM jacktilford @.***> wrote:

OK, I turned off notifications for you (I presume that's what you want - you will get inundated otherwise). My morning is full, but this afternoon I'll figure out why you can't delete reservations.

Jack

From: Jim Sterken @.> Sent: Wednesday, February 22, 2023 8:04 AM To: jacktilford/dctc-pickle @.> Cc: jacktilford @.>; Author @.> Subject: Re: [jacktilford/dctc-pickle] Update admin privileges (Issue #5)

Starting today, I'm getting notifications when new players ore events are added. I suspect this is related to giving me extra admin rights. However, I just checked, and I cannot delete Gwynn's 7pm reservation for tonight. I've attached the notification message I'm receiving now. [NewNotificationEmail]< https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F31393805%2F220498973-d4935806-6715-46d1-81cc-f40a9ac12fdb.jpg&data=05%7C01%7C%7Cb6de48692eb94d51596808db14ee6cb5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638126786476638988%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=1XJig2N1fhXL18d5lU1U66Bo0NCvCmifA1lD09bkLAw%3D&reserved=0

- Reply to this email directly, view it on GitHub< https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjacktilford%2Fdctc-pickle%2Fissues%2F5%23issuecomment-1440314398&data=05%7C01%7C%7Cb6de48692eb94d51596808db14ee6cb5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638126786476638988%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=D6vTTAR3fkbeQ7wMfvfTkkid9f6ZSIxLUszkLbG1nL8%3D&reserved=0>, or unsubscribe< https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACMJ2LHPLSMOYC47NAJ2NV3WYY2HLANCNFSM6AAAAAAVDGZTYU&data=05%7C01%7C%7Cb6de48692eb94d51596808db14ee6cb5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638126786476638988%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=o3S%2FTlbwCjLwRk6L9Gmm6t9VMdAO0S231D7h0wGlLPg%3D&reserved=0

. You are receiving this because you authored the thread.Message ID: @.**@.>>

— Reply to this email directly, view it on GitHub https://github.com/jacktilford/dctc-pickle/issues/5#issuecomment-1440340834, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHPQQDM3LNZHTPCPKOGOAALWYY36VANCNFSM6AAAAAAVDGZTYU . You are receiving this because you commented.Message ID: @.***>

jimsterken commented 1 year ago

Jim, Did you try to edit the reservation or to delete it? I had only added delete privileges; I’ve now also added edit privileges. Jack

==============

Jack, I tried CourtReserve on both my PC in Chrome and in the CR app on my iPhone. In each case, I clicked Reservations then moved to where I could see Gwynn's 7 pm reservation. Then I clicked or touched the reservation expecting a pop-up to emerge with a choice to edit or delete. Nothing happened. I get the same behavior today -- I just checked to see if I could modify or delete the singles reservation at 3pm Friday by Rebecca Blankfield. Nothing happened when I clicked, double-clicked, etc.

Am I supposed to do that in a different way?

jacktilford commented 1 year ago

Please try this (this is the writeup I put in the github issue):

"In the app, from the admin panel, go to "reservations -> courts" and then navigate to the reservation in question. There is a big red cancel button that does the job. In the website, it's "reservations -> list", select the "courts" tab, find the reservation, and click on the black X at the end of the line."

Jack

From: Jim Sterken @.> Sent: Thursday, February 23, 2023 8:20 AM To: jacktilford/dctc-pickle @.> Cc: jacktilford @.>; Author @.> Subject: Re: [jacktilford/dctc-pickle] Update admin privileges (Issue #5)

Jim, Did you try to edit the reservation or to delete it? I had only added delete privileges; I've now also added edit privileges. Jack

==============

Jack, I tried CourtReserve on both my PC in Chrome and in the CR app on my iPhone. In each case, I clicked Reservations then moved to where I could see Gwynn's 7 pm reservation. Then I clicked or touched the reservation expecting a pop-up to emerge with a choice to edit or delete. Nothing happened. I get the same behavior today -- I just checked to see if I could modify or delete the singles reservation at 3pm Friday by Rebecca Blankfield. Nothing happened when I clicked, double-clicked, etc.

Am I supposed to do that in a different way?

- Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjacktilford%2Fdctc-pickle%2Fissues%2F5%23issuecomment-1442060384&data=05%7C01%7C%7C5c816cd4dbaf4e77334c08db15b9dffb%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638127660303495295%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=LWYCnH8Ic%2BbFV5gwdr66lU0MUhRi1PHvVp5Ss0jvWq0%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACMJ2LCN33DEREAFRMXJDS3WY6E4VANCNFSM6AAAAAAVDGZTYU&data=05%7C01%7C%7C5c816cd4dbaf4e77334c08db15b9dffb%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638127660303495295%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=b5OQ%2BFAzk0Nl66nc13CG35zGikGnZnjRodU1S8oMFhI%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>

jimsterken commented 1 year ago

Please try this (this is the writeup I put in the github issue):

"In the app, from the admin panel, go to "reservations -> courts" and then navigate to the reservation in question. There is a big red cancel button that does the job. In the website, it's "reservations -> list", select the "courts" tab, find the reservation, and click on the black X at the end of the line."

Jack

======

Jack, where is the admin panel? I don't see any way to get to an admin panel on the iPhone app. Also I can't find an admin section on the PC browser version of CR. My login in jsterken@gmail.com

jacktilford commented 1 year ago

On the website, do you see this when you hover over your name in the upper right (here I'm using a test account with sub-admin privileges, set up just like yours):

@.***

If so, click on "Admin Panel" and you should see this:

@.***

Now click on List and you will see a list of reservations (with an "X" at the end of the line for cancellation).

As for the phone app, CourtReserve is giving me no end of trouble, and will not let me log in there with my test account. Let's take a look at your phone this afternoon at 1:00.

From: Jim Sterken @.> Sent: Thursday, February 23, 2023 8:42 AM To: jacktilford/dctc-pickle @.> Cc: jacktilford @.>; Author @.> Subject: Re: [jacktilford/dctc-pickle] Update admin privileges (Issue #5)

Please try this (this is the writeup I put in the github issue):

"In the app, from the admin panel, go to "reservations -> courts" and then navigate to the reservation in question. There is a big red cancel button that does the job. In the website, it's "reservations -> list", select the "courts" tab, find the reservation, and click on the black X at the end of the line."

Jack

======

Jack, where is the admin panel? I don't see any way to get to an admin panel on the iPhone app. Also I can't find an admin section on the PC browser version of CR. My login in @.**@.>

- Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjacktilford%2Fdctc-pickle%2Fissues%2F5%23issuecomment-1442092050&data=05%7C01%7C%7Cc7a677d68f8d4069159908db15bcddd6%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638127673147902845%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=c13BwKPOWhGujsxVJjy%2BhHg6qywh%2FMdPH6rJtWWK4Eg%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACMJ2LEH5UMYW34W3NIOXKLWY6HM7ANCNFSM6AAAAAAVDGZTYU&data=05%7C01%7C%7Cc7a677d68f8d4069159908db15bcddd6%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638127673147902845%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=snUSuseewkPceAsedvFASuAbdxv%2F6ocH0TEo41ZCrzY%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>

jimsterken commented 1 year ago

Yes, I do. That's probably it. I have to go offline for an hour or so now.

On Thu, Feb 23, 2023 at 9:06 AM jacktilford @.***> wrote:

On the website, do you see this when you hover over your name in the upper right (here I'm using a test account with sub-admin privileges, set up just like yours):

@.***

If so, click on "Admin Panel" and you should see this:

@.***

Now click on List and you will see a list of reservations (with an "X" at the end of the line for cancellation).

As for the phone app, CourtReserve is giving me no end of trouble, and will not let me log in there with my test account. Let's take a look at your phone this afternoon at 1:00.

From: Jim Sterken @.> Sent: Thursday, February 23, 2023 8:42 AM To: jacktilford/dctc-pickle @.> Cc: jacktilford @.>; Author @.> Subject: Re: [jacktilford/dctc-pickle] Update admin privileges (Issue #5)

Please try this (this is the writeup I put in the github issue):

"In the app, from the admin panel, go to "reservations -> courts" and then navigate to the reservation in question. There is a big red cancel button that does the job. In the website, it's "reservations -> list", select the "courts" tab, find the reservation, and click on the black X at the end of the line."

Jack

======

Jack, where is the admin panel? I don't see any way to get to an admin panel on the iPhone app. Also I can't find an admin section on the PC browser version of CR. My login in @.**@.>

- Reply to this email directly, view it on GitHub< https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjacktilford%2Fdctc-pickle%2Fissues%2F5%23issuecomment-1442092050&data=05%7C01%7C%7Cc7a677d68f8d4069159908db15bcddd6%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638127673147902845%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=c13BwKPOWhGujsxVJjy%2BhHg6qywh%2FMdPH6rJtWWK4Eg%3D&reserved=0>, or unsubscribe< https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACMJ2LEH5UMYW34W3NIOXKLWY6HM7ANCNFSM6AAAAAAVDGZTYU&data=05%7C01%7C%7Cc7a677d68f8d4069159908db15bcddd6%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638127673147902845%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=snUSuseewkPceAsedvFASuAbdxv%2F6ocH0TEo41ZCrzY%3D&reserved=0

. You are receiving this because you authored the thread.Message ID: @.**@.>>

— Reply to this email directly, view it on GitHub https://github.com/jacktilford/dctc-pickle/issues/5#issuecomment-1442130121, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHPQQDMYGTKLGQ7QGA6FCZDWY6KJHANCNFSM6AAAAAAVDGZTYU . You are receiving this because you commented.Message ID: @.***>

jimsterken commented 1 year ago

Hi Jack, I'm back online now. The Admin Panel works from my browser.

What about the iPhone? I don't see a way to switch into admin mode there.

 Jim

On Thu, Feb 23, 2023 at 9:11 AM Jim Sterken @.***> wrote:

Yes, I do. That's probably it. I have to go offline for an hour or so now.

On Thu, Feb 23, 2023 at 9:06 AM jacktilford @.***> wrote:

On the website, do you see this when you hover over your name in the upper right (here I'm using a test account with sub-admin privileges, set up just like yours):

@.***

If so, click on "Admin Panel" and you should see this:

@.***

Now click on List and you will see a list of reservations (with an "X" at the end of the line for cancellation).

As for the phone app, CourtReserve is giving me no end of trouble, and will not let me log in there with my test account. Let's take a look at your phone this afternoon at 1:00.

From: Jim Sterken @.> Sent: Thursday, February 23, 2023 8:42 AM To: jacktilford/dctc-pickle @.> Cc: jacktilford @.>; Author @.> Subject: Re: [jacktilford/dctc-pickle] Update admin privileges (Issue #5)

Please try this (this is the writeup I put in the github issue):

"In the app, from the admin panel, go to "reservations -> courts" and then navigate to the reservation in question. There is a big red cancel button that does the job. In the website, it's "reservations -> list", select the "courts" tab, find the reservation, and click on the black X at the end of the line."

Jack

======

Jack, where is the admin panel? I don't see any way to get to an admin panel on the iPhone app. Also I can't find an admin section on the PC browser version of CR. My login in @.**@.>

- Reply to this email directly, view it on GitHub< https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjacktilford%2Fdctc-pickle%2Fissues%2F5%23issuecomment-1442092050&data=05%7C01%7C%7Cc7a677d68f8d4069159908db15bcddd6%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638127673147902845%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=c13BwKPOWhGujsxVJjy%2BhHg6qywh%2FMdPH6rJtWWK4Eg%3D&reserved=0>, or unsubscribe< https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACMJ2LEH5UMYW34W3NIOXKLWY6HM7ANCNFSM6AAAAAAVDGZTYU&data=05%7C01%7C%7Cc7a677d68f8d4069159908db15bcddd6%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638127673147902845%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=snUSuseewkPceAsedvFASuAbdxv%2F6ocH0TEo41ZCrzY%3D&reserved=0

. You are receiving this because you authored the thread.Message ID: @.**@.>>

— Reply to this email directly, view it on GitHub https://github.com/jacktilford/dctc-pickle/issues/5#issuecomment-1442130121, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHPQQDMYGTKLGQ7QGA6FCZDWY6KJHANCNFSM6AAAAAAVDGZTYU . You are receiving this because you commented.Message ID: @.***>