GithubHelp home page GithubHelp logo

tripal / private_biodata Goto Github PK

View Code? Open in Web Editor NEW
1.0 4.0 0.0 1.01 MB

Make individual pages private while others of the same Tripal Content Type remain public!

License: GNU General Public License v2.0

PHP 100.00%
tripal tripal3 access-control

private_biodata's Introduction

alt tag

Tripal 4 (Drupal 10)

               _   _                 _____                 _                                  _
     /\       | | (_)               |  __ \               | |                                | |
    /  \   ___| |_ ___   _____      | |  | | _____   _____| | ___  _ __  _ __ ___   ___ _ __ | |_
   / /\ \ / __| __| \ \ / / _ \     | |  | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __|
  / ____ \ (__| |_| |\ V /  __/     | |__| |  __/\ V /  __/ | (_) | |_) | | | | | |  __/ | | | |_
 /_/    \_\___|\__|_| \_/ \___|     |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__|
                                                                  | |
                                                                  |_|

Compatibility

Target Drupal Version 10.2.x-dev

Tested on PostgreSQL 13 + PostgreSQL 16

Drupal 10.2.x 10.3.x
PHP 8.1 Grid81-102-Badge Grid81-103-Badge
PHP 8.2 Grid82-102-Badge Grid82-103-Badge
PHP 8.3 Grid83-102-Badge Grid83-103-Badge

Code Coverage

This project uses Code Climate to determine the quality of our codebase and the coverage of our test suite. Compatibility above is based on passing of this test suite.

Test Coverage

Maintainability

Current Timeline

Required for Tripal 4.alpha3 Release

  • Display suite / page work
  • Importers: Publications
  • Search (ElasticSearch + Views)

How to get involved!

This upgrade to Drupal 10 is a community effort. As such, we NEED YOUR HELP!

  • To get involved, please join our Tripal Slack and comment in the #core-dev channel.
    • Alternatively, feel free to contact Lacey-Anne Sanderson through Slack direct message.
    • We can use help both with programming, documentation, outreach and welcome all individuals from all backgrounds!
  • We prefer automated testing for all Pull Requests (PRs) and are happy to guide you through the process!
    • Just comment on the issue if you need help designing tests
    • If you need help implementing tests see our documentation
  • If more documentation would be helpful, please create an issue here and we'll add it.

Documentation

Documentation for Tripal 4 has begun on ReadtheDocs.

Tripal Docker

Tripal Docker is currently focused on Development and Automated Testing. There will be a production focused Tripal Docker soon and if you're interested in helping or providing tips -please join us on our Slack channel!

For more information about how to use our fully functional development docker, see our documentation on ReadtheDocs!

private_biodata's People

Contributors

dependabot[bot] avatar laceysanderson avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

private_biodata's Issues

Preparing for Tripal Gold Metal Status

Documentation

Description

This issue is in preparation for request for a gold Tripal extension module badge.

Repository: https://github.com/tripal/private_biodata
Documentation: https://github.com/tripal/private_biodata/blob/master/README.md

Make individual pages private while others of the same Tripal Content Type remain public! This module provides an additional permission, [Content type]: View Private Content for each Tripal Content Type and a TripalField to indicate which exact pages should be private.

Bronze

Requirement Status
Has a public release. Yes
Should install on a Tripal site appropriate for the versions it supports. Yes as shown by TravisCI
Defines any custom tables or materialized views in the install file (if applicable). No Custom Chado tables. Uses the Drupal Schema API for data storage.
Adds any needed controlled vocabulary terms in the install file (Tripal3). Yes
Provides Installation and admin instructions README.md (or RTD). Yes, in Readme
Has a license (distributed with module). Yes

Silver

Requirement Status
Follows basic Drupal Coding standards; specifically, code format and API documentation. Yes
Uses Tripal API functions. Specifically, it should use the Chado Query API for querying chado (if using chado as the storage system). Yes, using TripalFields API
Tripal Jobs API for long running processes. No long running processes.
TripalField class to add data to pages (Tripal3). Yes
Provides ways to customize the module (e.g. drush options, field/formatter settings, admin UI). Field widget and formatter settings.
Latest releases should follow Drupal naming best practices. e.g. first release for Drupal 7 should be: 7.x-1.x. Yes, 7.x-3.2

Gold

Requirement Status
Extensive documentation for the module (similar to Tripal User’s Guide). Not needed for such a simple module. Usage documentation in readme.
Unit testing is implemented using PHPUnit with the TripalTestSuite or something similar. Yes
Continuous integration is setup (e.g. such as with TravisCI). Yes
Imports data via Tripal’s importer class (Tripal3). Doesn't import data.
Tripal 3 fields are Fully compatible with web services. Yes: this field restricts access to the page through WS and through the UI.
The elementInfo function is fully implemented. Yes but this field doesn't support filtering
The query and queryOrder functions fully implemented. No as this field doesn't support filtering.
Web Services uses Tripal’s Web Service Classes (Tripal3). n/a
Code sniffing and testing coverage reports (optional but encouraged). Test coverage through codeclimate
Drupal.org vetted release (optional but encouraged). No

Organism search view

Hi,
I am trying to make a view to separate public and private data for the organism search. I can display the keep_private field in the FIELDS section but not in the FILTER CRITERIA section (See attach).
How can I do that?
Regards
Gaetan
Capture d’écran 2021-12-22 à 10 35 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.