You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Daniel Keir Haywood (Jira)" <ji...@apache.org> on 2021/04/26 05:56:00 UTC

[jira] [Updated] (ISIS-2614) productionise secman a bit more (finish off ImpersonsateUserAdvisor)

     [ https://issues.apache.org/jira/browse/ISIS-2614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Keir Haywood updated ISIS-2614:
--------------------------------------
    Summary: productionise secman a bit more (finish off ImpersonsateUserAdvisor)  (was: productionise secman a bit more)

> productionise secman a bit more (finish off ImpersonsateUserAdvisor)
> --------------------------------------------------------------------
>
>                 Key: ISIS-2614
>                 URL: https://issues.apache.org/jira/browse/ISIS-2614
>             Project: Isis
>          Issue Type: Improvement
>          Components: Isis Extensions SecMan
>    Affects Versions: 2.0.0-M5
>            Reporter: Daniel Keir Haywood
>            Assignee: Daniel Keir Haywood
>            Priority: Minor
>             Fix For: 2.0.0-M6
>
>
> specifically:
>  * clean-up @Configuration imports and service definitions (so there is less config needed for framework user)
>  * clean-up layouts.
>  ** [https://github.com/apache/isis/pull/490]  (Martin Hesse's change to dialog modal)  ... already merged to master
>  ** implement as ".fallback" layouts.
>  * write missing documentation on how to configure
>  
> In addition:
>  * accidentally created two roles with the same identifier.  This resulted in no fixtures being seeded.  My guess is there was an unlogged SQL exception.
>  
> {code:java}
> public class RoleAndPerms__UserRw extends AbstractRoleAndPermissionsFixtureScript {
>   public RoleAndPerms__UserRw() {
>     super("user-rw", 
>           "Read-write access to entire application");   
>   }
>   // ... 
> } {code}
> and (by mistake)...
> {code:java}
> public class RoleAndPerms__UserRo extends AbstractRoleAndPermissionsFixtureScript {
>   public RoleAndPerms__UserRo() {
>     super("user-rw",                                    <<<<< my mistake was here
>           "Read-only access to entire application");   
>   }
>   // ...
> }{code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)