I ask the system to call the maintenancetool and it asks for admin permission, how to know if the user allowed it or not in a .qs?
Related
I defined a user x and I would like to user x could not to login into /carbon, I just give /publisher permission but user x can also login into /carbon.
Removing the login permission from Internal/publisher prevents users from login to Management Console. In order to remove the permission:
Login to Management Console as Admin user
Edit Permisssions of Internal/publisher
Untick the Login permission under Admin Permissions and Update.
I know that webhooks are available in Herald > Webhooks in Phabricator, but I can't figure out how to grant access to this function. When I click the button I see the message: You do not have permission to create these objects.
Does anyone know how to grant access to create webhooks?
You can promote an user from standard user to Administrator to grant access to Phabricator webhooks.
Users must have the "Can Create Webhooks" permission to create new
webhooks.
― Phabricator Webhooks documentation
If you need further customization, visit this URL and change the default:
http://example.com/applications/view/PhabricatorHeraldApplication/
I want to change user password form admin. Users are login with firebase email and password option. Admin is also login with firebase. How can change the user password with web api?
There is no way to change another user's password with the client SDK.
Firebase Authentication doesn't have any concept of an admin user. That means that it can't grant special privileges to a user that you consider an admin.
There is however an Admin SDK, that runs with administrative privileges, and has the option to change the password (and other profile data) of any user in the project. This SDK is meant to be used on a so-called trusted environment, such as your development machine, a server you control, or Cloud Functions.
You could wrap the Admin SDK in an API endpoint that you can call from your web client code. Just be sure to check in the custom function whether the user is authorized to change the password.
I want to give some developer rights to check if the jobs are complete without granting full admin rights.
I have seen people saying to add the user to SQLAgentReaderRole role. Is there any additional permission that the role will have other then just viewing job status.
How to give an admin access to the users who have logged in using ldap username and password after authentication. And should we store this $_POST values in drupal database.
If you are using the ldap_integration module after an LDAP user logs in for the first time a full local Drupal user is created for them. Install http://drupal.org/project/adminrole which lets you assign your users, even LDAP users, into an "Admin Role". This module gives all available permissions to users in this role.