Giter VIP home page Giter VIP logo

Comments (4)

zielmicha avatar zielmicha commented on July 25, 2024

Prawdopodobnie "this is not a bug, but a feature":

    if workshop.status != 'Z': # Zaakceptowane
        raise Http404("Warsztaty nie zostały zaakceptowane")

from aplikacjawww.

sebastianjaszczur avatar sebastianjaszczur commented on July 25, 2024

Dobra uwaga. Wydawało mi się, że wtedy powinien się wyświetlić komunikat "Warsztaty nie zostały zaakceptowane". Chyba, że pamięć mnie myli i nigdy taki komunikat się nie wyświetla. Nie wiem.

W każdym razie - trzeba by albo usunąć link albo dać możliwość wyświetlania strony.

Ale wydawało mi się, że w zeszłym roku pozwalaliśmy edytować te strony bez zaakceptowania (bo czemu nie?). I też je wyświetlać. Z drugiej strony to trochę security issue może być - dawać dostęp do edytora HTML niezaakceptowanym osobom, nawet jeśli mamy te whitelisty na tagi, a potem pozwalać taką stronę wyświetlać innym użytkownikom.

from aplikacjawww.

sebastianjaszczur avatar sebastianjaszczur commented on July 25, 2024

OK. Zgadzam się, it's not a bug, it's a feature.
W takim razie jednak trzeba by usunąć link do tej strony z /workshop/priv/url-warsztatow

from aplikacjawww.

sebastianjaszczur avatar sebastianjaszczur commented on July 25, 2024

Teraz link wyświetla się tylko, jeśli warsztaty są zaakceptowane.

from aplikacjawww.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.