cubicweb-container #3488984 secutils.setup_container_rtypes_security should have a similar signature to utils.define_container [deprecated]
setup_container_rtypes_security wants an entity type class whereas it only uses the entity type name (regid), the container_rtype and container_skipetypes/skiprtypes. So this is quite similar to utils.define_container, for which those parameters. Having to create a fake Container class for the former is quite cumbersome IMO.
I believe that both functions should follow the same API (probably that of define_container).
|done in||<not specified>|
|closed by||<not specified>|