ORBNETSYS / i-PRO-Active-Guard-Public

1 stars 0 forks source link

Roles configuration "Attribute: Face\Gender" and "Attribute: Face\Age" does not work #108

Closed Yoshitaka-Fukushima closed 1 month ago

Yoshitaka-Fukushima commented 1 month ago

Test version plug-in v2.0.0 as of 29th Oct.

Phenomenon When these two roles are disabled, image

Expected work on face watchlist window (sample application)

image

Current image

Question There is corresponding parameter "AvailableFaceAttribures" in SetCurrentUser I/F.

{3F5EDAD3-3B5A-4087-8909-345A90CB068B}

When both age and gender is disabled, which do you set? (i)Parameter "AvailableFaceAttribures" itself does not exist (ii)Parameter "AvailableFaceAttribures" exists but blank ("gender" and "age" are not set).

I am checking OSS side behavior in parallel.

@alexnaicuorbnet

alexnaicuorbnet commented 1 month ago

For AvailablePeopleAttributes, AvailableFaceAttributes, AvailableVehicleAttributes, and AvailableLPRAttributes I'm setting null when no attribute permission is set, so it's the (i) option.

@Yoshitaka-Fukushima

alexnaicuorbnet commented 1 month ago

I tried with option (ii), setting an empty list instead of null, and it seems that the attributes are hidden as expected. @Yoshitaka-Fukushima

Yoshitaka-Fukushima commented 1 month ago

@alexnaicuorbnet Thank you for checking. I would like you to change to be (ii), but wait a moment. We are now checking OSS side implementation just in case.

Yoshitaka-Fukushima commented 1 month ago

@alexnaicuorbnet We checked and OSS implementation is correct.

Could you change to be (ii)?

Parameter "AvailableFaceAttribures" exists but blank ("gender" and "age" are not set).

And please implement the same logic also for AvailablePeopleAttributes, AvailableVehicleAttributes, and AvailableLPRAttributes.

Yoshitaka-Fukushima commented 1 month ago

Fixed in v2.0.1