Project

General

Profile

Download (738 Bytes) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2017 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9
package eu.etaxonomy.cdm.vaadin.view;
10

    
11
import java.util.EnumSet;
12

    
13
import eu.etaxonomy.cdm.model.permission.CRUD;
14

    
15

    
16
/**
17
 * @author a.kohlbecker
18
 * @since 20.10.2017
19
 *
20
 */
21
public interface PerEntityAuthorityGrantingEditor {
22

    
23
    /**
24
     * The editor will create a per entity authority for the bean being loaded in the editor and will
25
     * grant this authority to the current user.
26
     *
27
     * @param crud
28
     */
29
    public void grantToCurrentUser(EnumSet<CRUD> crud);
30

    
31
}
(10-10/11)