Opened 5 years ago
Last modified 4 years ago
#6085 new defect
Problem with licensed models
| Reported by: | Niklas Worschech | Owned by: | Adeel Asghar |
|---|---|---|---|
| Priority: | blocker | Milestone: | 1.19.0 |
| Component: | OMEncryption | Version: | |
| Keywords: | Modelica licensing | Cc: |
Description (last modified by )
If you open a licensed library with OMEdit, you can also read subpackages for a licensed feature for which you are not authorized.
For the following example, you can also open the SubLibrary subpackage, even if you only have access to the feature test_licensed_feature.
package LicenseOptionTest "License Features"
model Component1
extends LicenseOptionTest.Internal.InternalComponent1;
Real a = 1;
end Component1;
model Component2
extends LicenseOptionTest.Internal.InternalComponent2;
Real b = 1;
end Component2;
package Internal
model InternalComponent1
Real internalA = 1;
end InternalComponent1;
model InternalComponent2
Real internalB = 2;
end InternalComponent2;
end Internal;
package SubLibrary
model SubComponent1
end SubComponent1;
annotation (
Protection(
access = Access.nonPackageDuplicate,
features={"test_licensed_feature2"},
));
end SubLibrary;
annotation (
Protection(
access = Access.nonPackageDuplicate,
features={"test_licensed_feature"},
));
end LicenseOptionTest;
Change History (6)
comment:1 by , 5 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 5 years ago
| Milestone: | Future → 1.17.0 |
|---|---|
| Priority: | high → blocker |
comment:3 by , 5 years ago
| Description: | modified (diff) |
|---|
comment:4 by , 5 years ago
| Milestone: | 1.17.0 → 1.18.0 |
|---|
Note:
See TracTickets
for help on using tickets.

Rescheduled to 1.18.0