Adding Script for creation of news atributes on referral.referralatach
The atributes are to manage the access control

Signed-off-by: Carlos Filipe Lima Bezerra <carlosfilipe.lb@gmail.com>
signed-off-by: Gustavo Correia <correia.gustavol@gmail.com>
Deleted a print.
Signed-off-by: Gustavo Correia <correia.gustavol@gmail.com>
Signed-off-by: Carlos Filipe <carlosfilipe.lb@gmail.com>
Created the psychologist checkbox, not working yet.
Signed-off-by: Gustavo Corrêia <correia.gustavol@gmail.com>
Fixed logic bug for professionals and psychologists permissions
Signed-off-by: Gustavo Correia <correia.gustavol@gmail.com>
Signed-off-by: Carlos Filipe <carlosfilipe.lb@gmail.com>
Fixing logic for psychologist attach access

Signed-of-by: Carlos Filipe Lima Bezerra <carlosfilipe.lb@gmail.com>
Signed-of-by: Gustavo Correia <correia.gustavol@gmail.com>
Apply access control on the upload page

Signed-of-by: Carlos Bezerra <carlosfilipe.lb@gmail.com>
Signed-of-by: Gustavo Correia <correia.gustavol@gmail.com>
Created the js file with the checkbox swapper func

Signed-off-by: Gustavo Corrêia <correia.gustavol@gmail.com>
Signed-off-by: Carlos Filipe Bezerra <carlosfilipe.lb@gmail.com>