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/15 05:50:00 UTC
[jira] [Updated] (ISIS-2614) clean up secman @Configuration imports
and service definitions
[ 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)