Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
permissions_editor.h
Go to the documentation of this file.
1 /*
2  * permissions_editor.h
3  *
4  * Created on: 10 Jan 2024
5  * Author: billy
6  */
7 
8 #ifndef SERVICES_FIELD_TRIALS_INCLUDE_PERMISSIONS_EDITOR_H_
9 #define SERVICES_FIELD_TRIALS_INCLUDE_PERMISSIONS_EDITOR_H_
10 
13 
14 #include "permission.h"
15 
16 #include "parameter_set.h"
17 
18 #ifdef __cplusplus
19 extern "C"
20 {
21 #endif
22 
23 
24 DFW_FIELD_TRIAL_SERVICE_LOCAL bool AddPermissionsEditor (PermissionsGroup *permissions_group_p, const char *id_s, ParameterSet *param_set_p, const bool read_only_flag, FieldTrialServiceData *ft_data_p);
25 
26 
28 
29 
30 DFW_FIELD_TRIAL_SERVICE_LOCAL bool RunForPermissionEditor (ParameterSet *param_set_p, PermissionsGroup *permissions_group_p, ServiceJob *job_p, User *user_p, ServiceData *data_p);
31 
32 
34 
35 
36 #ifdef __cplusplus
37 }
38 #endif
39 
40 
41 
42 #endif /* SERVICES_FIELD_TRIALS_INCLUDE_PERMISSIONS_EDITOR_H_ */
GetPermissionsGroupFromPermissionsEditor
PermissionsGroup * GetPermissionsGroupFromPermissionsEditor(ParameterSet *param_set_p, ServiceJob *job_p, User *user_p, ServiceData *data_p)
ParameterType
ParameterType
The different types that a Parameter can take.
Definition: parameter_type.h:35
ServiceJob
A datatype to represent a running task.
Definition: service_job.h:72
parameter_set.h
dfw_field_trial_service_library.h
permission.h
GetPermissionsEditorParameterTypeForNamedParameter
bool GetPermissionsEditorParameterTypeForNamedParameter(const char *param_name_s, ParameterType *pt_p)
DFW_FIELD_TRIAL_SERVICE_LOCAL
#define DFW_FIELD_TRIAL_SERVICE_LOCAL
Definition: dfw_field_trial_service_library.h:43
PermissionsGroup
Definition: permission.h:41
AddPermissionsEditor
bool AddPermissionsEditor(PermissionsGroup *permissions_group_p, const char *id_s, ParameterSet *param_set_p, const bool read_only_flag, FieldTrialServiceData *ft_data_p)
User
A datatype to store user credentials.
Definition: user_details.h:40
dfw_field_trial_service_data.h
ServiceData
A datatype for holding the configuration data for a Service.
Definition: service.h:126
RunForPermissionEditor
bool RunForPermissionEditor(ParameterSet *param_set_p, PermissionsGroup *permissions_group_p, ServiceJob *job_p, User *user_p, ServiceData *data_p)
FieldTrialServiceData
The configuration data used by the DFW Field Trial Service.
Definition: dfw_field_trial_service_data.h:118
ParameterSet
A set of Parameters along with an optional name and description.
Definition: parameter_set.h:46