-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple groups for assets #16760
Multiple groups for assets #16760
Conversation
f3f4538
to
cf98205
Compare
Currently broken and I am not making any progress to resolve:
|
What are these itemtypes that have only one group? |
Rack, Certificate, Appliance, Item_DeviceSimcard, Line, SoftwareLicense, Unmanaged at least based on the related arrays in inc/define.php. Then, whatever plugins add to these arrays (I don't know which plugins the client is using currently). |
IMHO, All items defined in the |
In addition to my previous comment, these itemtypes have groups_id or groups_id_tech columns and may be relevant to issues with this PR or issues in the future:
|
That means expanding potentially both the new Read/Update Assigned rights and multiple-groups feature beyond assets which is beyond the scope of the developments that was agreed to. |
1e5bfe1
to
61eef4c
Compare
61eef4c
to
6abb8d4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still think it would be better to apply this change to all the classes that are present in the linkgroup_types
and the linkgroup_tech_types
configurations.
- It would make this behaviour consistant accross all assets.
- It would probably give the ability to validate that the trait methods are correctly executed by doing some tests that loops on all these configured types.
I agree. For things where a profile change is complex, still make the multiple fields. We can manage the rest afterward probably.
Do this represent a big work @cconard96 ? |
Some things on the Management tab will need to remain. Suppliers, contacts and infocom aren't assets. I'm not sure contracts are either. Would that mean changing which menu the types are under too so that it matches?
I don't know what this is referring to.
Depends on what we decide is an asset, I think. |
f81c788
to
49e7e5f
Compare
e211ddf
to
0a3c32c
Compare
c272f00
to
713118d
Compare
a4633aa
to
0f05b7c
Compare
9336ea7
to
47567ad
Compare
3d44435
to
2705877
Compare
2705877
to
b4fd04a
Compare
I just rebased to include modifications made in #17021. Maybe some tests will be broken. |
b4fd04a
to
0fc09a1
Compare
60176a5
to
d1524fc
Compare
I put the PR back to draft, waiting for the customer feedback. |
05f835d
to
34c6e7e
Compare
34c6e7e
to
d12a512
Compare
d12a512
to
2ea2a74
Compare
The customer has validated the feature. I just rebased the branch to fix conflicts. |
For assets, the
groups_id
andgroups_id_tech
fields are changed to allow multiple selections.