Project

General

Profile

Bug #12808

Rudder 4.3 missing important features for plugins, especially ACL one

Added by François ARMAND 6 months ago. Updated 4 months ago.

Status:
Released
Priority:
N/A
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

Description

To solve the parent task #12203, we need to be able to communicate back and forth API ACL information between Rudder backend and front end.

We can't do that now because:

- the event log are not correct (missing elements, not handling all cases)
- API does not send the action type for the path

Moreover, the current architecture force us to do some changes in the existing angularjs code to make what we want works.

There is also several missing point regarding plugin that need to be address (and it's hard to split in several parts given the bounds between each commit):

- we miss a way to declare if a plugin has an API (#12828)
- plugin management should be more based on convention / we should do more in boot/initPlugin (standard log line, standard registring of "toserver" resources)
- we need a common, unique way to cache resources (js/css) for plugin, and it need to be "with-cached-resources" (#12830)

All of that will lead to a breaking change in plugin API, which seemed unavoidable in all case at least for API declaration.


Related issues

Related to API Authorizations - User story #12203: Interface to manage ACL and user token for API authorizationReleased
Related to Rudder plugins - Bug #12835: Multiple plugin build errors in 4.3Released
Has duplicate API Authorizations - Bug #12828: Plugin API are not registered for ACLRejected
Has duplicate Rudder plugins - Bug #12830: Plugin can't use "with-cached-resources" for js/cssRejected

Associated revisions

Revision ba41803f (diff)
Added by François ARMAND 6 months ago

Fixes #12808: Rudder 4.3 missing important features for plugins, especially ACL one

History

#1 Updated by François ARMAND 6 months ago

  • Assignee changed from François ARMAND to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/1974

#2 Updated by François ARMAND 6 months ago

  • Subject changed from Rudder API for ACL is buggy to Rudder 4.3 missing important features for plugins, especially ACL one
  • Description updated (diff)
  • Assignee changed from Vincent MEMBRÉ to François ARMAND

#3 Updated by François ARMAND 6 months ago

  • Has duplicate Bug #12828: Plugin API are not registered for ACL added

#4 Updated by François ARMAND 6 months ago

  • Is duplicate of Bug #12830: Plugin can't use "with-cached-resources" for js/css added

#5 Updated by François ARMAND 6 months ago

  • Status changed from In progress to Rejected

CLosing (part of #12808)

#6 Updated by François ARMAND 6 months ago

  • Is duplicate of deleted (Bug #12830: Plugin can't use "with-cached-resources" for js/css)

#7 Updated by François ARMAND 6 months ago

  • Has duplicate Bug #12830: Plugin can't use "with-cached-resources" for js/css added

#8 Updated by Vincent MEMBRÉ 6 months ago

  • Parent task deleted (#12203)

#9 Updated by Vincent MEMBRÉ 6 months ago

  • Status changed from Rejected to New
  • Parent task set to #12203

#10 Updated by François ARMAND 6 months ago

  • Parent task deleted (#12203)

#11 Updated by François ARMAND 6 months ago

  • Status changed from New to In progress

#12 Updated by François ARMAND 6 months ago

  • Related to User story #12203: Interface to manage ACL and user token for API authorization added

#13 Updated by François ARMAND 6 months ago

  • Assignee changed from François ARMAND to Vincent MEMBRÉ

#14 Updated by Normation Quality Assistant 6 months ago

  • Assignee changed from Vincent MEMBRÉ to François ARMAND

#15 Updated by François ARMAND 6 months ago

  • Status changed from In progress to Pending release

Applied in changeset commit:rudder|ba41803f1df407efe74aaf21f491843691a652e6.

#16 Updated by Vincent MEMBRÉ 5 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.3.3 which was released today.

#17 Updated by Vincent MEMBRÉ 4 months ago

  • Related to Bug #12835: Multiple plugin build errors in 4.3 added

#18 Updated by Vincent MEMBRÉ 4 months ago

  • Project changed from Rudder to API Authorizations
  • Category deleted (102)
  • Target version changed from 4.3.3 to 4.3-1.0

Also available in: Atom PDF