GithubHelp home page GithubHelp logo

aliceo2group / bookkeeping Goto Github PK

View Code? Open in Web Editor NEW
17.0 8.0 17.0 35.34 MB

O2 Bookkeeping project for the ALICE experiment at CERN

License: GNU General Public License v3.0

Dockerfile 0.06% JavaScript 97.78% HTML 0.09% Shell 0.13% CSS 1.10% CMake 0.14% C++ 0.70%
cern alice o2 webui bookkeeping hacktoberfest alice-experiment

bookkeeping's People

Contributors

anoebanoe avatar awegrzyn avatar collinpoetoehena avatar ddehoog avatar dependabot-preview[bot] avatar dependabot[bot] avatar dimitrysteenkamer avatar ekertt avatar emilyslade123 avatar galaxywolfv avatar graduta avatar io112 avatar jikhuijberts avatar joetorsney avatar john-ghatas avatar justinsmid avatar martinboulais avatar mauritsiork avatar mennokonijn avatar mitchellgordonviriciti avatar mvegter avatar nightfeather404 avatar noxi333 avatar romjkez avatar rummens1337 avatar ryukishi avatar sandervdk avatar sandroboelsz avatar timusmedia avatar xsalonx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bookkeeping's Issues

[O2B-547] Update RUNS API request should check user permissions

Currently there is no check on updating a run on back-end. There should be one that checks if the user is admin or not

Acceptance Criteria:

  • Similar to tags.controller, add a check for admin in the runs.controller for updating the RUN
  • Add tests to validate the new behaviour;
  • OpenAPI spec file should be updated accordingly;

e.g of a similar change to tags: https://github.com/AliceO2Group/Bookkeeping/pull/547/files#diff-dfce4d9d11a31be72739d767812e1b3435a06045c19be411a28b517d2c208001

[O2B-546] Runs should have Edit button only for admins

In the Run-Details Page, top right corner, there is a group of 2 buttons
image

The Edit Run button should only be displayed to admins. The check can be validated via the method model.isAdmin()

Acceptance Criteria

  • If the user is Admin, the group button should be displayed as it is now
  • If the user is a non-admin user, a single button should be displayed instead Add Logs to this Run
  • Tags should be added accordingly to validate the existence of button or not

Attached images not shown

See f.ex. https://ali-bookkeeping.cern.ch/api/attachments/1505?page=log-detail&id=38173. When clicking the attached images, the images simply fail to load. If I say "Open in new tab" (right-click context menu), then the images does show up. However, if I try to download the images from the new tab, then I get a network error. Perhaps a problem is that the files how no "extension" - i.e., the file name is 1506 not 1506.png. This makes it hard to communicate things since image attachements are not really useful. BTW, is there a way to include the image inline in the log entry? The url of the uploaded images gets all mangled so it is impossible to predict the correct URL.

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.