Relationship Graph
View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0029222 | mantisbt | administration | public | 2021-10-25 09:43 | 2021-11-11 16:01 |
| Reporter | fpaquet | Assigned To | dregad | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | won't fix | ||
| Platform | PHP 7.4.25 | OS | CentOS7 | OS Version | CentOS Linux rel |
| Product Version | 2.25.2 | ||||
| Summary | 0029222: Removing user/project assigments kills default project in account preferences | ||||
| Description | Hello Victor In our local mantis installation, we have some impersonal user accounts for technical issues, like backup failures, These accounts do not have any project assignment, to prevent sending replies.. This setup is working absolutely fine so far. Now comes the problem: When we delete one signle project assignment of any other user, | ||||
| Steps To Reproduce | Project structure:
As a side effect, these steps will remove default project from account A . | ||||
| Additional Information | Because we have ~ 100 of these technical accounts, this bug results in roughly 1 hour of clicking to reassign all the default projects. | ||||
| Tags | No tags attached. | ||||
|
Fixed Additional information (no edit possible): Because we have about 100 of these technical accounts, this bug results in roughly 1 hour of clicking to reassign all the default projects. |
|
|
I believe this could be a consequence of 0027144. I do not have time to check in detail, but IIRC since the above-mentioned change, Mantis requires that a user has access to whatever project is set as default. To clarify, are any of the Customer1, Customer2 projects private ? If so, do accounts A and B have an access level allowing them to see private projects ? When you say This setup is working absolutely fine so far, what do you mean exactly by "so far" ? Did you upgrade Mantis then it stopped working ? If so, what version did you upgrade from ? |
|
|
Yes, all projects are private. We have started this mantis installation in 01/2021 and made 2-3 upgrades this year. So we have a conflict of requirements against 0027144. What can we do about it? |
|
I can't think of a clean solution right now, as I'm not keen on introducing yet another config option for this. I'm open to suggestions, but unless you have a better idea, you may have to customize the source code to achieve your goals. |
|
|
Customizing the source code is fine for us. We will create a patch, test it and publish it here for other people having the same issue. |
|
|
Thanks for your understanding, and proposing to provide a patch for the community. I'm resolving this as won't fix, as the current behavior is by design to ensure data integrity as described in 0027144. |
|
related to
child of
duplicate of