aboutsummaryrefslogtreecommitdiffstats
path: root/spec/features
diff options
context:
space:
mode:
authorTeddy Wing2018-01-12 17:37:41 +0100
committerTeddy Wing2018-01-15 18:25:52 +0100
commitd5543a0875a4c6f9bd06268dff49c0fe41751e91 (patch)
tree099665efdec005436df697186f98ac241fbe48ee /spec/features
parent06b37dd16a136eee747103de2144a96cf1718adc (diff)
downloadchouette-core-d5543a0875a4c6f9bd06268dff49c0fe41751e91.tar.bz2
workbenches/_filters: Only show organisations in workgroup
We had been listing all `Organisation`s in the check-box list that enables filtering `Referential`s by organisation. There can be many organisations in the database, and users of one org shouldn't necessarily see other organisations. Only allow users to filter by those organisations that belong to their `Workgroup`. To do that, We get the workgroup of the current workbench, and build a list containing the organisations the workgroup. Refs #5140
Diffstat (limited to 'spec/features')
0 files changed, 0 insertions, 0 deletions