timeoverflow icon indicating copy to clipboard operation
timeoverflow copied to clipboard

Scope resources under organization resource

Open enricostano opened this issue 7 years ago • 6 comments

This is a first attempt at scoping all the resources related to an organization under the organization scope.

For instance /organization/27/offer/12.

More info in community thread: http://community.coopdevs.org/t/scope-todos-los-recursos-de-organization-bajo-organizations/25

This is still a work in progress, but @sseerrggii should be able to test it :trollface:

TODO:

  • [x] offers
  • [x] inquiries
  • [ ] users/members
  • [ ] statistics
  • [ ] reports
  • [ ] organizations
  • [ ] tags

enricostano avatar Jun 15 '17 21:06 enricostano

:+1: Testeo un poco

sseerrggii avatar Jun 16 '17 09:06 sseerrggii

is there any special reason why we need this scoping?

sauloperez avatar Jun 18 '17 11:06 sauloperez

is there any special reason why we need this scoping?

@sauloperez basically we already do some kind of scoping storing the current organization in the browser session... let's use the URL instead.

EDIT: I added link to discussion in community in PR description.

enricostano avatar Jun 18 '17 18:06 enricostano

Tener en cuenta que los links de ofertas/demandas en los mails también tienen que cambiar

Estaría bien que los links viejos, tipo https://www.timeoverflow.org/offers/19721 sigan funcionando, ya que al saber el id de post (oferta/demanda) podemos saber la organización

sseerrggii avatar Jun 19 '17 15:06 sseerrggii

Is this still in progress? cc @enricostano @Morantron

mllocs avatar May 22 '18 20:05 mllocs

Yes, I need to work on it ASAP. We're prioritizing push notifications.

enricostano avatar May 23 '18 16:05 enricostano