Changeset 815


Ignore:
Timestamp:
Nov 19, 2008, 3:49:34 PM (14 years ago)
Author:
Martin Svensson
Message:

Fixes #143 Illumina plug-in package installer requests wrong permissions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/base2/net.sf.basedb.illumina/trunk/src/net/sf/basedb/illumina/install/Install.java

    r814 r815  
    221221    if (permissions.size() == 0)
    222222    {
    223       permissions.add(new Permissions(Item.PLATFORM, null, EnumSet.of(Permission.CREATE)));
    224       permissions.add(new Permissions(Item.PLATFORM, null, EnumSet.of(Permission.WRITE)));
    225       permissions.add(new Permissions(Item.DATAFILETYPE, null, EnumSet.of(Permission.CREATE)));
     223      permissions.add(new Permissions(Item.PLATFORM, null, EnumSet.of(Permission.CREATE, Permission.WRITE)));
     224      //permissions.add(new Permissions(Item.PLATFORM, null, EnumSet.of(Permission.WRITE)));
     225      permissions.add(new Permissions(Item.DATAFILETYPE, null, EnumSet.of(Permission.WRITE, Permission.CREATE)));
     226      //permissions.add(new Permissions(Item.DATAFILETYPE, null, EnumSet.of(Permission.CREATE)));
    226227      permissions.add(new Permissions(Item.EXTRAVALUETYPE, null, EnumSet.of(Permission.CREATE)));
     228      permissions.add(new Permissions(Item.PLUGINDEFINITION, null, EnumSet.of(Permission.READ)));
     229      permissions.add(new Permissions(Item.FILETYPE, null, EnumSet.of(Permission.READ)));
     230      permissions.add(new Permissions(Item.HARDWARETYPE, null, EnumSet.of(Permission.USE)));
     231      permissions.add(new Permissions(Item.HARDWARE, null, EnumSet.of(Permission.CREATE)));
     232      permissions.add(new Permissions(Item.SOFTWARETYPE, null, EnumSet.of(Permission.USE)));
     233      permissions.add(new Permissions(Item.SOFTWARE, null, EnumSet.of(Permission.CREATE)));
     234      permissions.add(new Permissions(Item.FORMULA, null, EnumSet.of(Permission.CREATE)));
    227235    }
    228236    return permissions;
Note: See TracChangeset for help on using the changeset viewer.