Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • beat.web beat.web
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 54
    • Issues 54
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • beat
  • beat.webbeat.web
  • Issues
  • #141
Closed
Open
Created May 06, 2015 by Laurent EL SHAFEY@laurent.el-shafey

Public dataformats listed while sharing an experiment with a private algorithm

While turning an experiment public, few dataformats are listed in the sharing preferences, while there are public. I think this is not expected.

More specifically, these dataformats are the ones used by a private algorithm, whose sharing preferences are going to change, when the experiment become public.

In addition, I've noticed an inconsistency in the following two methods of the Experiment class in beat/web/experiments/models.py

  • __share_dataformats line 211: errors.extend(needed_format.is_accessible(users=users, teams=teams))

  • __share_algorithms line 238: errors.extend(needed_algorithm.is_accessible(False))

The method is_accessible() being common to both classes, the False argument is surprising. It is defined in beat/web/commons/models.py 155 def is_accessible(self, users=None, teams=None):

To reproduce the problem.

  1. Create a new (private) version of an existing public algorithm
  2. Run an algorithm with this private version of the algorithm
  3. Try to make the experiment public
Assignee
Assign to
Time tracking