Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Afficher les vues donc un utilisateur est admin dans la page "Account" #270

Closed
1 task done
jonquet opened this issue Jun 12, 2023 · 5 comments
Closed
1 task done
Assignees
Labels
enhancement New feature or request

Comments

@jonquet
Copy link

jonquet commented Jun 12, 2023

Nous avons une section "Submitted ontologies" dans la page Account. Il semblerait que cette setion n'affiche pas les ontologies pour lesquelles un utilisateur est admin. Je pensais que c'était le cas.

Voir e.g. maweber qui ne voit pas les ontologies dont elle est admin dans sa page account.

Je propose:

  • Changer le mécanisme de recuperation des ontologies dans cette vue pour afficher toutes les ontologies dont un utilisateur est admin (ce qui incluera toutes celles qui'il/elle a soumise).
@jonquet jonquet added the enhancement New feature or request label Jun 12, 2023
@jonquet
Copy link
Author

jonquet commented Jun 28, 2023

Apres vérification avec @SirineMhedhbi nosu avons vu que c'est bien les ontologies "administratedBy" qui sont récupérées.

Par contre ces ontologies ne contiennent pas les vues. Il s'agit donc de expplicitement recupérer les vues aussi.

@jonquet jonquet changed the title Afficher les ontologies donc un utilisateur est admin dans la page "Account" Afficher les vues donc un utilisateur est admin dans la page "Account" Jun 29, 2023
@jonquet
Copy link
Author

jonquet commented Jun 29, 2023

@SirineMhedhbi Finalement je pense c'est pas nécessaire de changer le titre de la section.
Par contre, je propsoe de revenir sur une choix graphique est de lister les ontologies tjrs dans un "bouton" mais à l'aide des acronymes, pas des noms. Pour que cela soit plus succint comme visu.

@syphax-bouazzouni
Copy link
Collaborator

To validate/reproduce

  1. Have a user
  2. Go to an ontology (O1) and add your user as an admin to that ontology
  3. Go to a view (V1) (that is not related to the ontology in 2 (O1) ) and add your user as an admin to that view
  4. Go to the user account page, and you should see the submitted ontologies section, the ontology in 2. (O1), and the view in 3. (V1)

@SirineMhedhbi
Copy link

@syphax-bouazzouni fixed
see this commit : 31e0735

syphax-bouazzouni pushed a commit that referenced this issue Jul 7, 2023
* fix display list of views of ontologies in Submitted ontologies #270
Bilelkihal pushed a commit that referenced this issue Aug 1, 2023
* fix display list of views of ontologies in Submitted ontologies #270
@syphax-bouazzouni
Copy link
Collaborator

Fixed with #291 and #286

syphax-bouazzouni added a commit that referenced this issue Sep 5, 2023
* fix display list of views of ontologies in Submitted ontologies #270
syphax-bouazzouni added a commit that referenced this issue Sep 6, 2023
… and Bug fixes (#335)

* Merge pull request #281 from ontoportal-lirmm/fix-bug-in-slices-links

fix bug in slices links

* Merge pull request #212 from ontoportal-lirmm/fix/signup-fields-validation

Fix: Signup page input fields validation

* Merge pull request #214 from ontoportal-lirmm/feature/update-account-page-design

Feature: Update submited ontologies and created projet sections design

* Merge pull request #237 from ontoportal-lirmm/feature/ecoportal/groups-categories-administration

Feature: Add categories and groups administration

* Merge pull request #273 from ontoportal-lirmm/fix/bug-ANAEETHES-ontology

Fix: Ontology description text display when it is a complex object not a string

* Merge pull request #277 from ontoportal-lirmm/Fix-alphabetical-sorting

Fix: Alphabetical sorting in the the collection members display

* Fix: bug of display list submitted ontologies of account setting (#286)

* fix display list of views of ontologies in Submitted ontologies #270

* fix bug of display text in alert when there is no collections (#285)

fix the alert message text that is wrapping and overflowing out #266

* Merge pull request #287 from ontoportal-lirmm/fix-bug-reset-password

Fix: bug of reset password

* Fix bug of select list view of ontology (#289)

* Add Chosen.js functionality to fix bug of select views of ontolgy

* Add Chosen.js functionality for list views ontologies

* fix bug of update ontology where there is no view

* Refactor code

* Delete ponse = @ontology.update

* Merge pull request #295 from ontoportal-lirmm/Fix-display-the-list-of-concepts-in-a-collection-at-one-sight

Fix: display the list of concepts in a collection at one sight

* Merge pull request #291 from ontoportal-lirmm/Fix-remove-views-of-submitted-ontologies-in-account-setting

Fix: Remove views ontologies in list of submitted ontologies

* Merge pull request #280 from ontoportal-lirmm/Fix-Ontology-style-text-display-when-it-is-uri

Fix: ontology style text display when it is  uri

* Merge pull request #254 from ontoportal-lirmm/feature/add-ontology-count-to-group-and-category

Feature: add column ontologies count to categories and-groups admin page

* Merge pull request #302 from ontoportal-lirmm/feature/migrate-fair-score-js-code

Feature: Migrate fair score JS code to Stimulus controllers

* fix generated bug after edit group and category (#334)

---------

Co-authored-by: SirineMhedhbi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants