Re: Any plans to allow non-admin users to configure Slack integration?

2019-06-14 Thread Christian Hammond
Hey Adam!

There's no plans for this today. Giving all users that form of access makes
things complicated, because now they need access to parts of the
administration UI.

That said, assuming we're talking about Review Board 3.0's Slack support,
then it's very possible to have an extension just simply provide a UI for
creating a Slack configuration and then to create the necessary database
entries to do it. A Slack configuration is just an entry in
the integrations_integrationconfig table that provides a configuration
name, an ID representing the Slack integration (a static value), and then a
JSON dump of the settings (basically, just a channel name and the
conditions under which it will post to that channel -- review groups).

It'd be a pretty easy thing to put together, and we could help with some
sample code on constructing the right entries. You wouldn't even need a
form as fancy as the one in the admin UI. Just something with a couple
fields that can be exposed to users. A few hours of work.

If we're talking the legacy rbslack extension, then there's nothing that
can be done there, as it was never built to allow for more than one
mapping. That code is dead, with the version in Review Board 3.0 being the
way forward.

Christian

On Fri, Jun 14, 2019 at 12:35 PM Adam Gross  wrote:

> For companies with very few RB admins but lots of groups, it would be nice
> to support non-admins to configure the Slack channel integrations. There's
> no way we could funnel all of our preferences through our RB admins.
> Instead it would be nice to be able to have them be responsible for
> installing and updating rbslack with the rest of us managing the mapping of
> review groups to Slack channels.
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/19508216-d789-46f6-a51b-4e9dcc9ec30e%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAE7Vndm-FqZ71aMUFBrJvm-V3BYqdt3MCrbXYBYhLpiL1XTjOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Any plans to allow non-admin users to configure Slack integration?

2019-06-14 Thread Adam Gross
For companies with very few RB admins but lots of groups, it would be nice 
to support non-admins to configure the Slack channel integrations. There's 
no way we could funnel all of our preferences through our RB admins. 
Instead it would be nice to be able to have them be responsible for 
installing and updating rbslack with the rest of us managing the mapping of 
review groups to Slack channels.

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/19508216-d789-46f6-a51b-4e9dcc9ec30e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.