oscurrencyVRL / oscurrency

Affero licensed Mutual Credit/Time Bank software, operational in statewide b2b system
Other
15 stars 2 forks source link

Dashboard - Junior Admin Access #192

Closed amykirschner closed 7 years ago

amykirschner commented 7 years ago

Hi @ziyan-junaideen, can you give me an idea of how difficult this might be and estimate time commitment. If it's easy - I might bump it up. If complicated, will schedule for mid next year

Use Case, I'm hiring a program assistance to help with customer service. I would like to give her limited access to the admin dashboard. Specifically, I would like for her to be able to access the offers tab and NOTHING else.

So I would: create an account for her -if I cllck "admin" on her profile, she gets access to everything which is not desired

In the future, I might want to pick and choose what she (or anyone) has access to in dashboard, but for now, just a one-off setting would work.

ziyan-junaideen commented 7 years ago

I think this can be achieved easily. Its authorization. Currently we have just 2 stages presented with a flag. It can be a user or an admin. We have most of the tings in place. I assume it will be like 5 hrs, perhaps even less.

I'd noticed some odd behavior, for example to let you update the group description. It had complications. I think I left a comment trail in the issue of it.

amykirschner commented 7 years ago

@ziyan-junaideen thank you. I'm going to go ahead with this, scheduling it for February.

amykirschner commented 7 years ago

I'd like to revisit this as well. So this and #199 would be current work.

ziyan-junaideen commented 7 years ago

@amykirschner : would junior admins be able to delete offers?

amykirschner commented 7 years ago

yes

ziyan-junaideen commented 7 years ago

@amykirschner : the ability for an junior admin to delete offers have been provided. available in staging along with updates to #199

amykirschner commented 7 years ago

Good - @ziyan-junaideen screenshot-stormy-cove-staging herokuapp com 2017-04-06 12-05-06 Here is a screenshot of the 3 categories I want available to Junior Admin. Everything else can be removed from their view (We've already taken out Accounts and Exchange Tab).

ziyan-junaideen commented 7 years ago

@amykirschner : the permissions configuration used to display them is the same as in the website. If we need to hide a section we need to remove the user / group from the ability to read. This means the user will not also be able to read the reasource in the website. This shouldn't be an issue though, an junior admin access to the website may be restricted than a standard user (at least in theory)

amykirschner commented 7 years ago

@ziyan-junaideen well shoot that's getting complicated. Let's push to production as is so I can get my assistant rolling with it and we'll circle back over time to clean it up. Thanks!

ziyan-junaideen commented 7 years ago

I am not saying that it does, but it is the nature of such configuration.

But if the admin section was manually built (currently it is auto generated to a great extent) we would have had greater flexibility. Problems with ready made stuff.

A junior admin may not have an issue if he/she doesn't have to have the website fully functional (only needing the admin side). I was thinking y'day and I came up with an idea of a hack that will get the functionality we need. I am not sure until I try it though.

I will merge push the updates to production.

ziyan-junaideen commented 7 years ago

Pushing this to production