Changeset 1312 for trunk


Ignore:
Timestamp:
04/15/19 16:14:41 (5 years ago)
Author:
bln4
Message:

The owner of a Item can always inject properties, even if they do not have permission to do so.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gio/gesture/StandardGestureActions.java

    r1305 r1312  
    7474import org.expeditee.items.widgets.WidgetCorner;
    7575import org.expeditee.items.widgets.WidgetEdge;
     76import org.expeditee.settings.UserSettings;
    7677import org.expeditee.settings.experimental.ExperimentalFeatures;
    7778import org.expeditee.settings.templates.TemplateSettings;
     
    36983699                List<Item> items = new ArrayList<Item>();
    36993700                // check permissions
    3700                 if (!item.hasPermission(UserAppliedPermission.full)) {
     3701                if (!item.hasPermission(UserAppliedPermission.full) && !item.getOwner().equals(UserSettings.UserName.get())) {
    37013702                        // Items on the message box have parent == null
    37023703                        if (item.getParent() != null) {
Note: See TracChangeset for help on using the changeset viewer.