Commit a84b600b by Juho Salli

Merge branch 'varausbugi' into 'master'

Varausbugi

Oli lisätty käyttämään tuota jutuketta, mutta permissiot ampu jalkaan. Fixed it.

javax.ejb.AccessLocalException: Client not authorized for this invocation
...
        at fi.codecrew.moya.web.cdiview.map.AjaxMapView.initReserveMap(AjaxMapView.java:93)
...

See merge request !286
2 parents 58e80dea 695a0cb7
......@@ -212,7 +212,7 @@ public class QueueBean implements QueueBeanLocal {
}
@Lock(LockType.READ)
@RolesAllowed(MapPermission.S_MANAGE_MAPS)
@RolesAllowed({MapPermission.S_MANAGE_MAPS, MapPermission.S_BUY_PLACES})
@Override
public MapQueue getMapQueue(EventMap map) {
return getMapque(map);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!