Opened 17 years ago

Closed 17 years ago

#445 closed enhancement (wontfix)

Plug-in writers should check that the plug-in has the proper permission for its task

Reported by: Jari Häkkinen Owned by: Jari Häkkinen
Priority: minor Milestone: BASE 2.4
Component: core Version:
Keywords: Cc:

Description

The plug-ins may have own permissions and these are used when the plug-in is run. If the plug-in has too little permissions database interaction will fail and this failure can be silent, i.e., no exception is thrown. A such case is doing a simple select that can give a null set back if proper permission was not set.

There should be support function created such as "I need at least these permission, do I have them" returning true/false.

Change History (4)

comment:1 by Jari Häkkinen, 17 years ago

Milestone: BASE 2.x+

comment:2 by Jari Häkkinen, 17 years ago

Milestone: BASE 2.x+BASE 2.4
Owner: changed from Nicklas Nordborg to Jari Häkkinen
Status: newassigned

comment:3 by Nicklas Nordborg, 17 years ago

Priority: majorminor

comment:4 by Jari Häkkinen, 17 years ago

Resolution: wontfix
Status: assignedclosed

Plug-ins should check that it has proper credential before it starts it large and long analysis run. This is already documented.

Note: See TracTickets for help on using tickets.