[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFC: i18n rework of nm.d.o

I don't know what are your agreements with Enrico, so I'll drop random
hints coming from my (little) experience of nm2 "hacking".

On Mon, Aug 27, 2018 at 06:29:01PM +0200, Carsten Schoenert wrote:
> but right now I can mostly only see the UI with my login
> rights and that's a normal DD. So I expect that possible something is
> still broken for users with some more or specific access rights for the
> WebUI like MIA, AM, FD, DAM etc. It'd be nice to get some possible
> higher local testing access somehow.

This is weird.  With the default development configuration, running
`./manage.py runserver` runs the django app faking all accesses are done
by a user named `enrico` that is superuser and have all possible rights
you can imagine.  You are not seeing that?  From there you could just
create extra accounts through the django admin interface and give them
the rights you want them to have (either different status, or to make
one AM you need to click "make AM" in their profile page).  I don't
remember if the json export you get from
https://nm.debian.org/am/db-export contains the rights of the users (the
AMs in particular I'm not sure) in this regard.

> I don't think the current state is ready for merging so I hereby
> requesting some additional testing from other people and also some
> comments if needed.

IMHO you should see if you could split the changes in smaller batches
and provide MRs for the mergable bits (and even for the non-mergable
ones, just mark them as WIP).  It usually helps a lot on having
smaller chunks to review, so reviewers aren't scared off (I could review
small/obvious bits, for big/huge/non-obvious changes you pretty much
need to wait for only enrico…)

                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature

Reply to: