8 – Does the core always come with an administrator role? If so, is it safe to share the role with other users?

The administrator The role is part of the standard profile (and the Umami profile) and is created when the site is installed with one of these profiles. As you can see, the administrator role is missing. It is not available if the minimal profile site is installed.

However, defining a role as an administrator role is a core Drupal function. It is a configuration at /admin/config/people/accountsand it would look like this:

Enter the image description here

Any role assigned here as an administrator role would dynamically receive all authorizations of all activated modules.

❓ASK – Top 5 Things to Be Implemented as an Ecommerce Website Administrator | Proxies-free

E-commerce websites are struggling well and competition is fierce there. In my opinion, 5 things that you need to implement on your website to make more profits are as follows:

1. Keep the price (compared to competitors) of deal offers low and display an infographic comparison as a "top image banner", which only represents the value of this website compared to other competitors.

2. Increase your commitment and measures to generate more sales. A partner competition can be one of these commitments.

3. Prepare all payment transactions as quickly as possible, including refunds and complaints.

4. Make the website super fast and informative. Aside from hundreds of confusing sections, a custom template is created based on the "what shoppers like to see" view.

5. Start a stunning cashback offer for Amazon partners! Out of 30 users who buy the same product, one gets this product for free! You will compensate this user for your Amazon profits, which will increase users' interest in participating in the purchase of Amazon products.

Give your opinion, which I surely missed!

(There are hundreds of success points in the business.)

7 – After creating a module, is it possible to create a table that shows records in the administrator configuration form?

Background of the question:

I worked on a module that the user can vote with and that works well. I use the cookie concept for voting. I also created config below on the admin site. (Please check screenshot). It has a simple workflow like this:

Enter the image description here

  1. The user will go to the voting page
  2. The user will vote for the right candidate
  3. The voting is updated and cookies are set.

Planning for updating the module:

I plan to add voices based on the IP address. I have just declared the IP address option. The problem is that I have already created a module without a schema.

Problem:

  1. Is it possible to add a custom table to the database after creating a module?
  2. Is it possible to create a table in the administrator configuration form to display records?

Applications – How can I run as an administrator on my Childs Phone managed by Family Link?

I have found no lack of restriction on access to a child's phone. I'm trying to do the opposite.

Old device is Samsung Galaxy A10e
New device is LG G8 ThinQ

All day I have tried to install a backup APK from the old to the new device and it keeps saying

Action not allowed
This action is disabled. To learn more, contact your organization's admin

Ok, I'm neat this admin. My lowest question, where is the button "I am God, get out of my way"?

I have noticed strange, serious limitations in Family Link, such as:

  1. I cannot purchase a subscription within a game (despite my consent). Why?
  2. If you try to log in to my child's Google Drive through an app, it crashes immediately, but if you open it directly, it works. Why?
  3. When you try to run Google Play Games, it opens, turns into a white screen, and sometimes closes. Otherwise, it just remains a blank white screen until it closes. Why?

Please help, this is very frustrating. She worked very hard to get the Play Store credits she spent on her game and at the moment it is completely reset on the new device.

Note: I tried to use LG Mobile Switch, which indicates that it is "successful", and yet not all apps are identical to the old device.

magento2 – Magento 2 email_order_set_template_vars_before observer is only triggered when I resend emails in the administrator

I have created a new var template email_order_set_template_vars_before Observer and it works when I send a new order via email through the Magento administrator. However, it does not fire when a new order is placed. Here is my code.

events.xml





    
        
        
    


SaveEmailVariables.php

namespace FoobarShipperHQDeliveryDateObserver;
use MagentoFrameworkEventObserverInterface;

class SaveEmailVariables implements ObserverInterface
{
    private $carrierGroupHelper;
    public function __construct(ShipperHQShipperHelperCarrierGroup $carrierGroupHelper) {
        $this->carrierGroupHelper = $carrierGroupHelper;
    }
    public function execute(MagentoFrameworkEventObserver $observer)
    {
        $transport = $observer->getEvent()->getTransport();
        $order = $transport->getOrder();
        $orderDetail = $this->carrierGroupHelper->getOrderCarrierGroupInfo($order->getId());

        if($order != null)
        {
            foreach ($orderDetail as $orderData) {
                $ddate = array_key_exists('delivery_date', $orderData) ? $orderData('delivery_date') : '';

                $transport('cddeliveryDate') = date( 'F d, Y', strtotime( $ddate ) );

            }
        }
    }
}```

magento2 – Retrieves the resource ID of the logged in administrator programmatically in Magento 2

I want to check whether the currently logged in user has the administrator role.
For this I want to get the value of resource_id in the authorization_rule table for the currently logged in administrator.

Enter the image description here

Note: Please suggest a method to achieve this with magento2. The use of an SQL query is not permitted.

SQL Server – Get-SPContentDatabase is displayed differently as an administrator

We use SP2016 on site. It is a newly created farm and SQL Server 2016 is always set up. For some reason when I run PowerShell Get-SPContentDatabase I get 2 databases and 1 site count on DB1, 0 site on DB2. Then I start PowerShell as an administrator Get-SPContentDatabase I get 3 databases and 1 site count on DB3, 0 site count on DB1 and DB2.

I am aware that someone has performed Move-SPSite from DB1 to DB3 before using the farm administrator. However, I'm not sure if he runs PowerShell as an administrator or as a normal cmdlet window.

I checked the authorization scheme for DB1 and DB2. It has a different user mapping than any other database, including configuration DB and DB3.

It's okay to rebuild all content databases and site collections. But I'm not sure what the cause of the confusion is. Any idea?