<feed xmlns='http://www.w3.org/2005/Atom'>
<title>genenetwork3/gn3/auth/authorisation/data, branch auth/implement-authorization-code-flow</title>
<subtitle>GeneNetwork3 REST API for data science and machine learning
</subtitle>
<id>http://git.genenetwork.org/genenetwork3/atom?h=auth%2Fimplement-authorization-code-flow</id>
<link rel='self' href='http://git.genenetwork.org/genenetwork3/atom?h=auth%2Fimplement-authorization-code-flow'/>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/genenetwork3/'/>
<updated>2023-04-24T08:45:45+00:00</updated>
<entry>
<title>auth: Return the actual privileges for the user</title>
<updated>2023-04-24T08:45:45+00:00</updated>
<author>
<name>Frederick Muriuki Muriithi</name>
</author>
<published>2023-04-24T08:45:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/genenetwork3/commit/?id=3e2198e39bc229553d118f367fbd2f9932a9a76b'/>
<id>urn:sha1:3e2198e39bc229553d118f367fbd2f9932a9a76b</id>
<content type='text'>
Previously, the `oauth2/data/authorisation` endpoint was returning hard-coded
values for the privileges assigned to the user for each resource. In this
change, we rework to return the actual privileges for the user.
</content>
</entry>
<entry>
<title>oauth2: Link the phenotype traits to user groups.</title>
<updated>2023-04-19T15:07:19+00:00</updated>
<author>
<name>Frederick Muriuki Muriithi</name>
</author>
<published>2023-04-19T14:49:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/genenetwork3/commit/?id=735adc012cc5d974eb8eabb26eda6c483af0da1a'/>
<id>urn:sha1:735adc012cc5d974eb8eabb26eda6c483af0da1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix minor linting and typing issues</title>
<updated>2023-04-19T12:59:26+00:00</updated>
<author>
<name>Frederick Muriuki Muriithi</name>
</author>
<published>2023-04-19T12:59:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/genenetwork3/commit/?id=2a7e8b7ffdf260a643c7fcd615c8982d3268347f'/>
<id>urn:sha1:2a7e8b7ffdf260a643c7fcd615c8982d3268347f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>auth: Setup selected traits correctly</title>
<updated>2023-04-19T12:13:04+00:00</updated>
<author>
<name>Frederick Muriuki Muriithi</name>
</author>
<published>2023-04-19T11:42:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/genenetwork3/commit/?id=9a0c6fd1759e13fa7a934852f87e9aa4c62d7dfd'/>
<id>urn:sha1:9a0c6fd1759e13fa7a934852f87e9aa4c62d7dfd</id>
<content type='text'>
Fix bugs with setting up of the selected traits for use while filtering the
search results.
</content>
</entry>
<entry>
<title>auth: phenotypes - provide default empty list for selected traits.</title>
<updated>2023-04-19T08:31:14+00:00</updated>
<author>
<name>Frederick Muriuki Muriithi</name>
</author>
<published>2023-04-19T08:31:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/genenetwork3/commit/?id=85610fc9670c0496bff045be0e148e3d2b3357d3'/>
<id>urn:sha1:85610fc9670c0496bff045be0e148e3d2b3357d3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>auth: Pass `--per-page` and `--selected` options.</title>
<updated>2023-04-18T11:10:47+00:00</updated>
<author>
<name>Frederick Muriuki Muriithi</name>
</author>
<published>2023-04-18T11:10:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/genenetwork3/commit/?id=280f7970f3a63c2afa06f55ad59233260da2e2b9'/>
<id>urn:sha1:280f7970f3a63c2afa06f55ad59233260da2e2b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Hook up code to use external search script for phenotypes</title>
<updated>2023-04-17T11:42:05+00:00</updated>
<author>
<name>Frederick Muriuki Muriithi</name>
</author>
<published>2023-04-17T11:42:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/genenetwork3/commit/?id=8af8105444522c2c71b5ddd36a550e964cddffbf'/>
<id>urn:sha1:8af8105444522c2c71b5ddd36a550e964cddffbf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>auth: Delete code that is no longer used</title>
<updated>2023-04-17T06:24:54+00:00</updated>
<author>
<name>Frederick Muriuki Muriithi</name>
</author>
<published>2023-04-17T06:24:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/genenetwork3/commit/?id=85abf12d364c626af9177deb0398849845bcc6c3'/>
<id>urn:sha1:85abf12d364c626af9177deb0398849845bcc6c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Decouple `gn3.db_utils` from `flask.current_app`.</title>
<updated>2023-04-15T16:35:53+00:00</updated>
<author>
<name>Frederick Muriuki Muriithi</name>
</author>
<published>2023-04-15T16:35:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/genenetwork3/commit/?id=dbf0f9f0d34c9969aa6ae76f556745a9eb122106'/>
<id>urn:sha1:dbf0f9f0d34c9969aa6ae76f556745a9eb122106</id>
<content type='text'>
Decouple the `gn3.db_utils` module from the global `flask.current_app` object,
ensuring that the database uri value is passed in as a required argument to
the `gn3.db_utils.database_connection` function.
</content>
</entry>
<entry>
<title>auth: Add external script to search for phenotypes</title>
<updated>2023-04-14T11:14:20+00:00</updated>
<author>
<name>Frederick Muriuki Muriithi</name>
</author>
<published>2023-04-14T10:19:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/genenetwork3/commit/?id=2b7ecb52fa5f568d7d48fc324bae8231343543bd'/>
<id>urn:sha1:2b7ecb52fa5f568d7d48fc324bae8231343543bd</id>
<content type='text'>
We need a search through the available phenotype traits in the database when
linking the traits to user groups. Unfortunately, the Xapian Search indexes do
not (and should not) include the internal identifiers we use to disambiguate
the traits.

On the other hand, we do not want to present the user with traits that have
already been linked to any user group within the search results.

The script in this commit, together with the modified queries for fetching the
phenotype data form a "hack" of sorts to wrap around the way the search works
while ensuring we do not present the user with "non-actionable" (linked)
traits in the search results.
</content>
</entry>
</feed>
