Error in SQL when selecting Management>Displays [DisplayGroupAuth]
Bug #717951 reported by
Adam Stafford
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Xibo |
Fix Released
|
Critical
|
Dan Garner | ||
1.2 |
Fix Released
|
Critical
|
Dan Garner | ||
1.3 |
Fix Released
|
Critical
|
Dan Garner |
Bug Description
There is a problem with the DisplayGroupAuth function when calling Management -> Displays.
Instead of calling display.licensed=0 to see all displays, it is only requesting licensed displays through filtering.
-------
SELECT DISTINCT displaygroup.
Related branches
lp://qastaging/~dangarner/xibo/server-717951
- Alex Harrington: Approve
-
Diff: 5732 lines (+3995/-393) (has conflicts)26 files modifiedclient/dotNET/FileCollector.cs (+9/-1)
client/dotNET/MainForm.cs (+43/-40)
client/dotNET/Properties/Resources.Designer.cs (+1/-1)
client/dotNET/Properties/Settings.Designer.cs (+1/-1)
client/dotNET/Properties/Settings.settings (+1/-1)
client/dotNET/Region.cs (+8/-0)
client/dotNET/RssReader.cs (+1/-1)
client/dotNET/Web References/xmds/Reference.cs (+19/-19)
client/dotNET/Web References/xmds/Reference.map (+1/-1)
client/dotNET/Web References/xmds/xmds.wsdl (+1/-1)
client/dotNET/XiboClient.csproj (+6/-5)
client/dotNET/app.config (+1/-1)
client/python/XiboClient.py (+196/-0)
client/python/client.conf (+25/-0)
client/python/configure.py (+1753/-0)
client/python/gui.glade (+1451/-0)
default.pot (+293/-283)
server/README.TXT (+4/-4)
server/lib/data/display.data.class.php (+39/-5)
server/lib/data/displaygroup.data.class.php (+9/-0)
server/lib/data/schedule.data.class.php (+5/-5)
server/lib/pages/display.class.php (+95/-15)
server/lib/pages/layout.class.php (+2/-2)
server/lib/pages/module.class.php (+16/-0)
server/lib/pages/schedule.class.php (+14/-6)
server/lib/service/xmdssoap.class.php (+1/-1)
- Alex Harrington: Approve
-
Diff: 12 lines (+1/-1)1 file modifiedserver/lib/pages/display.class.php (+1/-1)
To post a comment you must log in.
The selection of licensed displays is intentional because starting with Xibo 1.2.1, if you have given your users access to the Management -> Displays menu (and your users aren't Super Admins) then they should only see licensed displays they have been given permissions to modify. That means you can then setup Xibo to allow ordinary users access to modify the default layout on a subset of the dispalys.
What's not working here is the override that allows Super Admins to see unlicensed displays so that they can license them and assign permissions.