timeoverflow
timeoverflow copied to clipboard
Scope resources under organization resource
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
:+1: Testeo un poco
is there any special reason why we need this scoping?
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.
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
Is this still in progress? cc @enricostano @Morantron
Yes, I need to work on it ASAP. We're prioritizing push notifications.