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

Daniel Keir Haywood updated ISIS-2614:
--------------------------------------
    Description: 
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}
 

> clean up secman @Configuration imports and service definitions
> --------------------------------------------------------------
>
>                 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
>
>
> 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)

Reply via email to