Skip to content

PermissionGrantEndpoint class

namespace: Serenity.Extensions.Endpoints   assembly: Serenity.Extensions

Tells which permissions the current user can't grant or revoke, by the PermissionGrantOptions, so that the pages that manage permissions show them as read-only; the services that save them check them anyway. It tells only about the current user.

public class PermissionGrantEndpoint : ServiceEndpoint

Public Members

name description
PermissionGrantEndpoint() The default constructor.
List(…) Lists the permissions, among the given ones, that the current user can't grant or revoke.

See Also