-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow application creation in sub organization level #409
base: main
Are you sure you want to change the base?
Allow application creation in sub organization level #409
Conversation
8661c32
to
89b3205
Compare
pom.xml
Outdated
<carbon.kernel.version>4.9.17</carbon.kernel.version> | ||
<carbon.kernel.package.import.version.range>[4.7.0, 5.0.0)</carbon.kernel.package.import.version.range> | ||
<carbon.kernel.feature.version>4.6.0</carbon.kernel.feature.version> | ||
<carbon.kernel.version>4.10.24</carbon.kernel.version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This version needs to be updated once a new kernel release is done with the changes wso2/carbon-kernel#4104
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated to the latest kernel release 4.10.26[1]
c16a54c
to
851a98f
Compare
if (StringUtils.isEmpty(PrivilegedCarbonContext.getThreadLocalCarbonContext() | ||
.getApplicationResidentOrganizationId())) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (StringUtils.isEmpty(PrivilegedCarbonContext.getThreadLocalCarbonContext() | |
.getApplicationResidentOrganizationId())) { | |
if (StringUtils.isNotEmpty(PrivilegedCarbonContext.getThreadLocalCarbonContext() | |
.getApplicationResidentOrganizationId())) { | |
true; | |
} | |
// eralier logic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ultimately, after enabling app creation within sub org through application mgt API as well, the only thing we need to restrict is inability to create shared/ framgent apps apart from the internal process
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the logic
851a98f
to
df970df
Compare
Purpose