View Issue Details

IDProjectCategoryView StatusLast Update
0004065SOGoGUIpublic2017-03-04 11:52
Reporterchentao Assigned Toludovic  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Platform[Server] LinuxOSDebianOS Version8 (Jessie)
Product Version3.2.7 
Summary0004065: isSuperUser condition not working anymore ?
Description

Hi,

I used to customize the Preferences panel, hiding some preferences unless the user is a superuser.

I just noticed it's not working anymore in v3 (it's still working in v2, though).

It seems <var:if condition="isSuperUser"> always returns false, no matter whether the user is a superuser or not.

Steps To Reproduce

Open Templates/PreferencesUI/UIxPreferences.wox

Put some preferences between <var:if condition="isSuperUser">(...)</var:if> markers

Check that it's always hidden, no matter if the user is a superuser or not.

It seems <var:if condition="isSuperUser"> always returns false

TagsNo tags attached.

Activities

chentao

chentao

2017-03-04 08:12

reporter   ~0011430

ok, my bad, you can close this "bug" which isn't one. I just discovered that I forgot to define the isSuperUser boolean function in UIxPreferences.m. Sorry...

Issue History

Date Modified Username Field Change
2017-03-03 16:54 chentao New Issue
2017-03-04 08:12 chentao Note Added: 0011430
2017-03-04 11:52 ludovic Status new => closed
2017-03-04 11:52 ludovic Assigned To => ludovic
2017-03-04 11:52 ludovic Resolution open => no change required