All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.permit.sdk.enforcement.ObjectPermissions Maven / Gradle / Ivy

There is a newer version: 983f46e
Show newest version
package io.permit.sdk.enforcement;

import java.util.List;

/**
 * The {@code ObjectPermissions} class represents a single object (tenant or resource instance) that the queried user can access.
 */
public class ObjectPermissions {

    public final TenantDetails tenant;
    public final ResourceDetails resource;
    public final List permissions;
    public final List roles;

    public ObjectPermissions(TenantDetails tenant, ResourceDetails resource, List permissions, List roles) {
        this.tenant = tenant;
        this.resource = resource;
        this.permissions = permissions;
        this.roles = roles;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy