Opened 8 years ago

Closed 8 years ago

#823 closed enhancement (fixed)

Do not include items with only Read permission in selection lists

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: minor Milestone: Reggie v4.0
Component: net.sf.basedb.reggie Keywords:
Cc:

Description

In several Reggie wizards it is possible to select protocol, hardware and software items that was used in the process. The selection lists currently contain all items that the user has access to. Some (old) items are however only shared with 'Read' permission and trying to use them will result in an exception from BASE:

Permission denied: Not allowed to use Software[id=....]

The lists should be filtered so that only items with at least 'Use' permission are included.

Change History (2)

comment:1 by Nicklas Nordborg, 8 years ago

Milestone: Reggie v3.8Reggie v4.0

Milestone renamed

comment:2 by Nicklas Nordborg, 8 years ago

Resolution: fixed
Status: newclosed

(In [3603]) Fixes #823: Do not include items with only Read permission in selection lists

Added Permission.USE filter to queries that load protocols, hardware and software.

Note: See TracTickets for help on using tickets.