migrate bug report to gitea #1

Closed
opened 2023-02-04 10:47:16 +00:00 by dominik · 6 comments
Member
No description provided.
dominik self-assigned this 2023-02-04 10:47:16 +00:00
Author
Member

Users are redirected to phabricator for issue, use API to create issues.

Users are redirected to phabricator for issue, use API to create issues.
dominik added the
Status
Need More Info
label 2023-02-04 14:22:39 +00:00
Author
Member

Users are redirected to phabricator for issue, use API to create issues.

This does not work for arbitrary users: API does not allow username/password and retrieving a token needs a login, so the issue can be created here directly...

> Users are redirected to phabricator for issue, use API to create issues. This does not work for arbitrary users: API does not allow username/password and retrieving a token needs a login, so the issue can be created here directly...
Owner

IMHO there are two ways to tackle this:

The way organizations work in gitea it seems like I have to reevaluate the strategy. This does not work as I thought, i.e.
I can not use a team from another Organization, users are not automatically in the IPKM-public org, etc.

  1. Move the repo to IPKM and assign agvogel team as owner, so that the actual users can create tickets. This is OK for this repo, but intergroup collaboration should be also possible. I have to look how I can do this.
    The default for IPKM would be then "public" and IPKM-public is not needed anymore.
    This would solve the LDAP mapping of the groups, as that is already setup.

  2. Create a dummy user, make a token. That access token can be used then for that ticket creation. The dummy user must be in the correct team. The user creating the ticket is then basically unknown to gitea, one could put the username in the body of the template though.

IMHO there are two ways to tackle this: The way organizations work in [gitea](https://docs.gitea.io/en-us/permissions/) it seems like I have to reevaluate the strategy. This does not work as I thought, i.e. I can not use a team from another Organization, users are not automatically in the IPKM-public org, etc. 1) Move the repo to IPKM and assign agvogel team as owner, so that the actual users can create tickets. This is OK for this repo, but intergroup collaboration should be also possible. I have to look how I can do this. The default for IPKM would be then "public" and IPKM-public is not needed anymore. This would solve the LDAP mapping of the groups, as that is already setup. 2) Create a dummy user, make a token. That access token can be used then for that ticket creation. The dummy user must be in the correct team. The user creating the ticket is then basically unknown to gitea, one could put the username in the body of the template though.
Owner

The damaris-script-library repository is working I think:

https://gitea.pkm.physik.tu-darmstadt.de/IPKM/damaris-script-library/settings/collaboration

The rights look correct:

  • Owners
  • administrators
  • agvogel
  • can add second team (read only)
The damaris-script-library repository is working I think: https://gitea.pkm.physik.tu-darmstadt.de/IPKM/damaris-script-library/settings/collaboration The rights look correct: - [x] Owners - [x] administrators - [x] agvogel - [x] can add second team (read only)
Owner

Shall I move it the IPKM organization?
We would have to fix the links again ...

Shall I move it the IPKM organization? We would have to fix the links again ...
markusro self-assigned this 2023-02-06 19:41:47 +00:00
Owner

This is moved to the other org (IPKM).

This is moved to the other org (IPKM).
Sign in to join this conversation.
No Milestone
No project
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: IPKM/nmreval#1
No description provided.