Project

General

Profile

Download (753 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.persistence.hibernate.permission.CRUD;
14

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

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

    
30
}
(9-9/10)