[FOLIO-407] mod-permissions persistent storage needs to be migrated to Postgres Created: 07/Dec/16 Updated: 12/Nov/18 Resolved: 24/Jan/17 |
|
| Status: | Closed |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Task | Priority: | P3 |
| Reporter: | Kurt Nordstrom | Assignee: | Kurt Nordstrom |
| Resolution: | Done | Votes: | 0 |
| Labels: | sprint5, sprint6 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 1 week, 3 days, 4 hours | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||
| Sprint: | |||||||||
| Description |
|
Since we are moving away from Mongo for Folio, the Auth module suite needs to follow suit. Currently, the Login and Permissions modules use a Mongo backend for storage. (The Authtoken module does not currently use persistent storage). As the Auth modules are NOT currently implemented using the RAML Module Builder, it is a valid question of whether we should reimplement the Auth modules in the RMB framework, or whether we should build our own interface with the Postgres database. We'll need to evaluate the limitations of the RMB and determine if there is any required functionality in the Auth modules that would be impeded by using the RMB. (On the other hand, it is possible that any such limitations could be worthy points for extending the RMB framework itself). A third way could be to split the code so that the CRUD operations are build with the RMB, while more complex logic is managed as a separate module. |
| Comments |
| Comment by Jakub Skoczen [ 07/Dec/16 ] |
|
Kurt, is this different from DMOD-103? Or simply about making the same changes in a different module. |
| Comment by Kurt Nordstrom [ 07/Dec/16 ] |
|
Yes, this is different because mod-users was built as a RMB module from the start. mod-auth was not. |
| Comment by Jakub Skoczen [ 08/Dec/16 ] |
|
Ok – is that something you will look into in sprint4 (this or next week), or sprint5? |
| Comment by Jakub Skoczen [ 24/Jan/17 ] |
|
The mod-permissions part has been completed, a new issue will be filed for the login/logout modules. |